This topic has 10 replies, 4 voices, and was last updated 9 years by alphasigns.
-
Author
Tagged: Full Width, 100%, footer, column, Width
-
November 13, 2014 at 16:12 #35319silverbackmediaParticipant
As the title says it. Right now there are 4 footer columns, I’m in need just for one column where the width is 100%.
I tried this through deleting the other column in the sidebar-footer.php and change the class on the one remaining footer fromcol-sm-3
tocol-sm-12
.which unfortunately didn’t work as I intended, the column just stayed at 25% width as usual.
Regards Silverbackmedia
November 13, 2014 at 20:23 #35345giannisffParticipantTry this to your child theme
@media (min-width: 768px)
.col-sm-3 {
width: 100%;
}Looks like a good idea
November 14, 2014 at 13:25 #35422silverbackmediaParticipantthanks, even tho this can bring more faulty because of components used in the body use the same class-name it was fixed by writing a style in the div-container in sidebar-footer.php
I wrote it like this:
COPY CODE<div class="col-sm-3" style="width: 100% !important"> <div id="footer-sidebar-1" class="footer-sidebar widget-area" role="complementary"> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('footer-1')): endif; ?> </div> </div>
Thanks for your support!
Regards Silverbackmedia
November 14, 2014 at 13:43 #35426AbeKeymasterHello, also this is a CSS only solution so you don’t change theme template:
COPY CODE#footer .wrap-content > .row > .col-sm-3:first-child { width: 100%; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.November 14, 2014 at 14:52 #35429silverbackmediaParticipantI have not tested it yet, but would this help to make the first footer column a whole 100% even tho the other 3 are at 25% width?
Anyway, I have successfully completed my task, but yeah changing the theme template is never a good idea.
November 14, 2014 at 17:36 #35447AbeKeymasteryes, try it 😀
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.November 14, 2014 at 19:25 #35461AbeKeymasterno problem @giannisff
thanks for your helpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.November 15, 2014 at 16:01 #35597silverbackmediaParticipant@giannisff I appreciate it too! Thanks for the help!
September 8, 2015 at 22:22 #76644alphasignsParticipantExactly what I needed to adjust the footers.
I’m using 1 & 4 only, hiding 2 & 3.
Perfect!
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.