This topic has 4 replies, 3 voices, and was last updated 8 years, 2 months ago ago by Eva Kemp
Hi,
Is there any way to change the footer text alignment from ‘centre’ to ‘left’ alignment?
I’m adding shortcodes and visual composer widgets but it’s aligning everything centred and would like to change it to left…it might be a simple css styling or might need to change the template editor…?
What is the best way round this?
Also the ‘share’ shortcode…can I change the icons on there and change the url to ‘share’ to have our profiles on it?
Hello,
Please provide us with WP dashboard credentials in private content.
Best regards,
Jack Richardson.
In private content
Hello,
Please add this code in custom.css file:
.main-footer .et-twitter-slider, .main-footer .mc4wp-form {
text-align: left !important;
}
To change icons for social media icons use this code:
.menu-social-icons .ico-twitter:before {
content: url(http://path_to_image_icon);
}
.menu-social-icons .ico-facebook:before {
content: "\f09a";
}
.menu-social-icons .ico-pinterest:before {
content: "\f0d2";
}
.menu-social-icons .ico-google-plus:before {
content: "\f0d5";
}
.menu-social-icons .ico-envelope:before {
content: "\f003";
}
or replace current icons code "\f003", "\f0d5"
etc. with Font Awesome icons https://fortawesome.github.io/Font-Awesome/icons/ .
To change the links to your profiles you need edit the file wp-content/themes/royal/framework/shortcodes.php (find the section “! Share This Product” in line 1918), find the code, for example for Twitter <a href="https://twitter.com/share?url='.$permalink.'&text='.$post_title.'" class="'.$tooltip_class.'" title="'.__('Twitter', ETHEME_DOMAIN).'" target="_blank">
and replace https://twitter.com/share?url='.$permalink.'&text='.$post_title.'
with a link to your Twitter account.
How to create custom.css you can watch in this tutorial (it’s for Legenda theme but the process is the same).
Regards,
Eva Kemp.
The issue related to '‘Changing footer’' has been successfully resolved, and the topic is now closed for further responses