Archived topic
Styling the prime template image (i've removed the slider)
3 replies · Started by Adrien on August 9, 2020
Dear Generatepress Team,
Could you please help me to style the image (screenshot enclosed) to match Prime template as much as possible and especially on mobile. i've removed the slider soliloquy.
And especially on mobile I have large gaps on top and bottom VS the demo:
https://tinyurl.com/yy9c5lyv
Thank you very much for your assistance. Best, Adrien
Hi there,
Give this a shot:
.separate-containers .page-header-image {
margin-top: 0;
}
@media (max-width: 768px) {
.featured-image + .container .site-main {
margin-top: 10px;
}
}
Dear Tom,
Awesome! It worked perfectly. Thanks a lot. Best, Adrien
You're welcome :)