Aki_TW
September 10, 2021, 9:25am
1
Hi
I would like to ask 2 question about a page content below. I created a template liquid for this specific page.
Theme: supply
URL: https://tohokucraft.com/pages/test
Template: page.landing-page.liquid
How to increase this specific page width without affecting header and footer. I prefer this body width is 800px.
How to remove margin between images in this page.
Regards
@Aki_TW
Please add the following code at the bottom of your assets/theme.scss.liquid file.
div#test .rte{
width: 800px;
}
div#test .rte>div {
margin-bottom: 0px !important;
}
Hope this works.
Thanks!
Aki_TW
September 10, 2021, 10:35am
3
@dmwwebartisan
I really appreciate your help. I have added that codes but those images are still rendered at 657px and the margin has not removed yet.
Could you possibly check it for me again?
Regards
@Aki_TW
Can you provide a screenshot?
Aki_TW
September 10, 2021, 11:06am
5
@dmwwebartisan
Hi, please see attached the screen shot.
@Aki_TW
Please try the following code for the margin.
@media only screen and (min-width: 769px){
body#test .push--large--one-sixth{ left:0px !important; }
body#test .large--two-thirds { width: 100% !important; }
}
Aki_TW
September 10, 2021, 12:59pm
7
@dmwwebartisan
Yes! it looks the page width increased but the margin between those 2 images are still there…
@Aki_TW
Please add the following code for the image margin.
div#test .rte>div {
margin-bottom: -6px !important;
}
Aki_TW
September 11, 2021, 2:06am
9
@dmwwebartisan
It works! Thank you for helping me out.
Regards