Hi!
I’m using a Pipeline theme.
I have a mega menu where I can add images. I have one where I have 4 treatments section and then the other skincare where I have only 2 skincare brands.
The problem is in order to have those 2 skin care images the same size as those 4 treatment images I need to add 2 white blocks in the “coustomise theme” option on the outside. It looks fine on desktop however, on mobile those 2 skin care brands are diagonally because of those two white blocks.
I would like those two images to be stacked and on the left side.
Is there a way to move those images?
https://www.injectual.com/
1 Like
Hi @Michau00
You can try the code below.
- From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
- Go to Asset folder and open the base.css file
- At very end of the code, add the code below
@media only screen and (max-width: 749px) {
#sliderule-69c594729206d58862d9aab6822903ac > div.sliderule-grid.blocks-4 > div:nth-child(2) {
grid-area: 1;
}
}
See result below:
Hi @made4Uo Thanks! It worked. However, the images have text that I add over also in the “customise”. With your change they slightly go outside of the images. Is it possible that they resize and stay within the image? Thanks!
Hi @Michau00
@media only screen and (max-width: 481px) {
.sliderule__wrapper h2.hero__title.h3 {
font-size: 22px;
}
}
Add this code below to your theme.css