Hi,
I want to create something like this: https://playerschoice.dk/ - where there is an edge at each side, but when on tablet/mobile the edge is gone. Is it possible to do this sitewide?
Hi,
I want to create something like this: https://playerschoice.dk/ - where there is an edge at each side, but when on tablet/mobile the edge is gone. Is it possible to do this sitewide?
Hi @Kobber,
Thanks for reaching out.
Can you please point out what do you mean by the edge? If that is what in the screenshot given, it is also in the mobile or tablet, but due to the smaller screens, the edge can’t be seen.
If that is not the case and you are trying to point out something else, please provide any screenshot marked with the issue or any video that helps us to recognize the problem.
Thanks
Hi,
It’s the blank/white space at each side I’m referring to.
I guess I could do something like this:
@media(min-width: 980px){
body {
margin-left: 5%;
margin-right: 5%;
}
}
?
Hello @Kobber,
Thanks for updating in! Yes, your custom CSS may work. You can either use margin or padding property.
Please note that custom coding is outside the scope of our support. Issues that might arise from the use of custom code and further enhancements should be directed to a third-party developer.
Cheers.
Hi,
I used the code above on a test page (https://vektropol.dk/2021-2/) but the header moves to the right when scrolling down the page, and on mobile I can move the page around with my finger (it’s not steady right/left).
I guess the issue has something to with this post: Menu moves to the right when scrolling
I really want a design where I have an edge/white space to the sides, and if I do as in the mentioned post - setting margin to the header, it doesn’t work.
I know I can change the site width settings etc., but that won’t give that edge when setting a background image in a section.
I thought this was possible with Pro - and quite easy, but maybe it’s not. Can you help me out?
Hi Kobber,
I would suggest you follow the suggestion given by my colleagues in your previous thread Menu moves to the right when scrolling
Please let us know if that does not resolve your issue.
Thanks
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.