Hey guys.
O posted this before….but it may have been overlooked.
I have a slider (left column) and a form (right column) on the homepage of this website.
How can I get the content within the color section container (holding the slider and form) to stretch to the width of the color section container below with the content and the image?
I am noticing too, that on the mobile device the content isn’t rendering as it should. I know that for the container with the slider and form there’s a custom ID ‘home’ that removes the margin and increases the % width on both columns…that may play a part in it?
Hey Justin!
Try with this code:
div#home .container {
width: 100%;
margin: 0;
}
Best regards,
Josue
Hi!
That’s happening because of this custom code you have in style.css:
#home div.av_one_fourth {margin-left:0%!important;width:26.5%!important;background:#c51230;min-height:404px!important;}
#home div.av_three_fourth {margin-left: 0%!important;width:73.5%!important;background:#c51230;}
You should add some media queries so it changes the percentage values according to the screen size, like:
@media only screen and (max-width: 989px) {
#home div.av_one_fourth {width:50%!important;}
#home div.av_three_fourth {width:50%!important;}
}
@media only screen and (max-width: 767px) {
#home div.av_one_fourth {width:100%!important;}
#home div.av_three_fourth {width:100%!important;}
}
Regards,
Josue