- This topic has 9 replies, 3 voices, and was last updated 5 years 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!
GeneratePress 1.3.44February 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 π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 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! π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMay 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?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMay 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; } }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMay 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 π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.