Home Forums Pro Themes Education Hub Pro In the footer Copyright or Powered By Text, can you add line breaks?

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #45739
    lasimon
    Participant

    I’m trying to create additional lines in the Education Hub Pro footer. Tried using <br> and <br /> but they just get stripped from the template.

    Alternatively, and even better, can I split the footer into left/right sections and place content on either side?

    Thank you!

    #45762
    wensolutions
    Keymaster

    Hello @lasimon ,

    To split the footer use below given CSS.

    For this go to Admin Panel > Appearance > Customize > Additional CSS and paste below given CSS.

    @media(min-width:769px){
        .copyright{
            float:left;
        }
        .site-info{
            float:right;
        }
    }

    Hope this helps.

    Best Regards!!

    Have a good day .

    #45766
    lasimon
    Participant

    Thanks that worked!

    Is there a way for me to put line breaks in the boxes? I.e. if I put:

    Address<br />
    City, State

    It ignores the break tag and collapses to one line.

    #45767
    wensolutions
    Keymaster

    Hello @lasimon,

    In order to put the line breaks you have to activate the child theme .

    Child theme Reference:

    https://codex.wordpress.org/Child_Themes

    You can also create the child theme using the plugin. Below is the link to one of them .

    https://wordpress.org/plugins/wp-child-theme-generator/

    After activating the child theme in your child themes functions.php file paste below given code .

    https://gist.github.com/anonymous/94ec3ad2387b062ef19f3c64399ad0da

    Hope this helps.

    Best Regards!!

    #46006
    lasimon
    Participant

    It worked! Just FYI I had to remove the wp_kses_data and wp_kses_post which were stripping the HTML tags but after that everything is working great.

    Thanks for the help.

    #46126
    wensolutions
    Keymaster

    Hello @lasimon,

    Glad we could help you !!

    If you have any issues further, please feel free to post your queries and we will happily help you further.

    We will really appreciate if you could help us too by rating our theme in WordPress repo here:-

    https://wordpress.org/support/theme/education-hub/reviews/

    Best regards !!

    Have a great week !!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.