Hi guys,
I would like to align the custom content section as illustrated bellows :
Thank you,
Hi guys,
I would like to align the custom content section as illustrated bellows :
Thank you,
Hello @Alliance
It’s GemPages support team and glad to support you today.
I would like to give you a solution to support you.
Go to Online Store → Theme → Edit code.
Open your theme.liquid theme file.
Paste the below code before :
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.
#shopify-section-f6304716-080c-4f6d-9b04-2a3a98904d66 .page-width {
display: flex;
flex-direction: column-reverse;
}
.section-header.text-center {
margin-top: 5%;
}
Add this css at the bottom of Online Store->Theme->Edit code->Assets->theme.scss.liquid
You forgot the margin buttom; the section button margin
@Alliance
Hello,
.page-width .custom-content {
margin-bottom: 0;
margin-left: 0;
}
Add this CSS at the bottom of Online Store->Theme->Edit code->Assets->theme.scss.liquid
Like This
In mobile view it is a mess
Didn’t work out.
Any clue guys
Hi @Alliance
You can add code below
@media(max-width: 749px){
#shopify-section-f6304716-080c-4f6d-9b04-2a3a98904d66 > .page-width .custom-content {
display: flex;
flex-flow: column;
}
#shopify-section-f6304716-080c-4f6d-9b04-2a3a98904d66 > .page-width .custom-content .custom__item {
order: 2;
}
#shopify-section-f6304716-080c-4f6d-9b04-2a3a98904d66 > .page-width .custom-content .custom__item--image {
order: 1;
max-width: none;
}
}