|
Hello,
I’d like to add a certain amount of padding(or margin? I’m not sure what is the correct word…) to each side of my website. (lokkboxx.com)
For now, my website is full width and everything looks too big.
I attached the image to explain what i want to achieve.
Can anybody let me know how to edit this?
theme: prestige
(I already asked the developer and he said it’s not their supporting issue and I have to hire coder to do it.
)
Thank you in advance.
|
| - |
1 Like
Hi @gizmo77
Do you mind sharing your website so we can provide a specific code for you? Thank you
Hi
my website is lokkboxx.com
1 Like
@gizmo77
Thank you for that. Please follow the instructions below.
- From your Admin Page, click Online Store > Themes >Actions > Edit code
- In the Asset folder, open the theme.css
- Paste the code below at the very bottom of the file.
@media only screen and (min-width: 1200px) {
body.prestige--v4 {
margin: 0 8vw;
}
}
Thank you so much @made4Uo
But the look I want is not whole page is cut out and on the one-colored background.
I more want each section background is extending to the end like this website https://yourstori.com/
1 Like
@gizmo77
Sorry about that. I copied exactly what you have on your image
- From your Admin Page, click Online Store > Themes >Actions > Edit code
- In the Asset folder, open the theme.css
- Paste the code below at the very bottom of the file.
@media only screen and (min-width: 1200px) {
div#shopify-section-template--15236130570297__slideshow {
margin: 0 8vw;
}
header#section-header{
margin: -1px 8vw;
}
section#section-announcement {
margin: 0 8vw;
}
div#bar583018_737710 {
padding: 0 8vw;
}
}
Image preview
Thank you for all help! @made4Uo
I tried
@media only screen and (min-width: 1200px) {
div#shopify-section-template–15236130570297__slideshow {
margin: 0 8vw;
}
header#section-header{
margin: -1px 8vw;
}
section#section-announcement {
margin: 0 8vw;
}
div#bar583018_737710 {
padding: 0 8vw;
}
}
and somehow it looks like this.
Actually I like as
@media only screen and (min-width: 980px) {
body.prestige–v4 {
margin: 0 8vw;
}
}
Can you let me know
how to change background-color white and
how to stretch green and black bar on the top 100% width?
Thank you again
@gizmo77 ,
Got it.
Please replace the code
@media only screen and (min-width: 980px) {
body.prestige–v4 {
margin: 0 8vw;
}
}
with this
@media only screen and (min-width: 1200px) {
main#main {
margin: 0 8vw;
}
header#section-header {
margin: 0 8vw;
}
body.prestige--v4 {
background: #fff;
}
}
Hi Made4Uo,
I was wondering if you could help me with the same issue regarding adding margins to the webpage as you did with Lokkboxx. My site is 4StitchesDesigns.com. I tried to use your code, however, under the Asset folder I do not have a theme.css. Any help would be appreciated!