- This topic has 5 replies, 2 voices, and was last updated 7 years, 6 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Education Hub Pro › In the footer Copyright or Powered By Text, can you add line breaks?
Tagged: footer
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!
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 .
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.
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!!
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.
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 !!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |