- This topic has 9 replies, 3 voices, and was last updated 8 years, 10 months ago by
Tom.
-
AuthorPosts
-
February 14, 2017 at 10:59 pm #278927
David
I happened to noticed the footer widget is set to:
<div class="footer-widget-1 grid-parent grid-25 tablet-grid-50 mobile-grid-100">But in the Customizer Tablet view the Footer Widget for tablet-grid-50 isn’t triggered.
I want the four footer widgets to stack in two columns and not one column.
Test Server: http://cmcwebdev.com/poundersThanks for your input.
Cheers!
February 15, 2017 at 12:27 am #278946Tom
Lead DeveloperLead DeveloperHi David,
The view you’re seeing is the portrait view on tablet, which inherits the mobile styles.
You can adjust this using some CSS:
@media (min-width: 769px) and (max-width:1024px) { .footer-widgets .grid-25 { width: 50%; float:left; } }Adjust the 769px value to whatever you need.
Let me know if this helps or not 🙂
February 15, 2017 at 3:17 am #279001David
This got me the results I am looking for
@media (max-width: 1025px) and (min-width: 768px){
.footer-widgets .grid-25 {width:25%;float:left;clear:none;}
}Thanks Tom!
February 15, 2017 at 10:56 am #279231Tom
Lead DeveloperLead DeveloperNo problem! 🙂
May 22, 2017 at 11:08 am #322309Chris
Hi Tom,
I’m trying to get 3 footer widget in one colum at tablet portrait view (1024×768).I tried
@media (max-width: 1025px) and (min-width: 768px){
.footer-widgets .grid-33 {width:33%;float:left;clear:none;}
}and
@media (min-width: 769px) and (max-width:1024px) {
.footer-widgets .grid-33 {
width: 33%;
float:left;
}
}both are not working.
Any idea?
BestMay 22, 2017 at 11:50 am #322359Tom
Lead DeveloperLead DeveloperYou want the 3 footers widget to be side by side, or stacked?
May 23, 2017 at 12:09 am #322658Chris
Sorry my fault, I meant side by side.
May 23, 2017 at 12:23 am #322667Tom
Lead DeveloperLead DeveloperTry this:
@media (max-width: 768px) { .footer-widgets .grid-33 { width: 33%; float: left; clear: none; } }May 23, 2017 at 12:45 am #322673Chris
No not working, but I tried this
@media (max-width:1024px) {
.footer-widgets .grid-33 {
width: 33%;
float:left;
clear:none;
}
}.inside-footer-widgets > div:nth-child(2n+1) {
clear: none;
}That’s working 🙂
Thanks anyway!
May 23, 2017 at 8:09 am #322889Tom
Lead DeveloperLead DeveloperAwesome 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.