This topic has 3 replies, 2 voices, and was last updated 6 years, 9 months ago ago by Rose Tyler
Hello, based on my understanding the copyright section is composed of (LEFT and RIGHT) widget.
What i would like to achieve is just use one widget but it should be CENTERED instead of left or right.
I have tried doing it using CSS but the problem is it doesn’t work well for different web resolution.
I looked at the footer template or php, i found this code below. I believe this is what needed to be edited, correct?
CAn you please help?
<div class="container">
<div class="row">
<div class="col-sm-6 footer-copyrights-right">
<?php if(is_active_sidebar('footer-copyrights')): ?>
<?php dynamic_sidebar('footer-copyrights'); ?>
<?php else: ?>
<?php if($fd) etheme_footer_demo('footer-copyrights'); ?>
<?php endif; ?>
</div>
<div class="col-sm-6 footer-copyrights-right">
<?php if(is_active_sidebar('footer-copyrights2')): ?>
<?php dynamic_sidebar('footer-copyrights2'); ?>
<?php else: ?>
<?php if($fd) etheme_footer_demo('footer-copyrights2'); ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
Let me know also how where to add it on my childtheme.
Please see update:
Hello,
You can create a static block https://www.8theme.com/documentation/xstore/support/static-blocks/ using VC and set it in Appearance > Widgets > Footer Copyrights Left area.
Also, add this code in Theme Options > Styling > Custom css to make the width of Footer Copyrights Left area 100%:
.footer-bottom .container > .row {
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.footer-copyrights, .footer-copyrights-right {
width: 100%;
}
Regards
You must be logged in to reply to this topic.Log in/Sign up