Tagged: Grid Rows
Hi im trying to style a logo at mobile sizes with the following code
@media only screen and (max-width: 768px)
#top .responsive .logo {
position: static;
display: table;
height: 94px !important;
float: none;
padding: 0;
border: none;
width: 35% !important;
}
I can see that the style is being controlled by layout.css
I cant over ride this form my child theme style
Hi Gareth!
Thank you for using Enfold.
There are missing brackets on the css code. Please replace it with this:
@media only screen and (max-width: 768px) {
#top .responsive .logo {
position: static;
display: table;
height: 94px !important;
float: none;
padding: 0;
border: none;
width: 35% !important;
}
}
Regards,
Ismael
OMG! im so sorry Ismael!! I didn’t see that :P
Could you help me with one more issue i’m having.
At around 990 width my grid elements break out of the boxed layout. How do i prevent this form happening? I would like them to remain boxed on mobile so the background is always visible around the sides of the elements.
Please refer to the images i have included.
Correct
http://www.mcewan.co.za/screen_shots/tasteofpe/correct-alignment.png
Incorrect
http://www.mcewan.co.za/screen_shots/tasteofpe/incorrect-alignment.png
Hey!
I answered your question here – https://kriesi.at/support/topic/grid-sections-become-full-width-on-mobile/#post-375039
Cheers!
Yigit