Home Forums Space themes support forum Website width optimize

Website width optimize

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #447482

    Pladi1
    Participant

    Is it possible to set max width 1920px but with padding (space) left/right?

    #447655

    Luke Nielsen
    Keymaster

    Hello,

    Yep, please navigate to Theme Settings -> General -> Layout -> change the “Container width” field per your needs.

    Here’s a screenshot to help you locate the setting:
    https://monosnap.com/file/bkwvOao90vyoN62Xpi1HgVzXfRBnRI

    If you have any further questions, please let me know.

    Kind Regards

    #447728

    Pladi1
    Participant

    Hello Luke,

    I know this feature already which is great. Have set on 1920px as maximum.
    But the content is aligned to the left/right border.

    I need max-width: 1920px but padding-left & right 4rem for example.

    How can I apply this?

    #448031

    Luke Nielsen
    Keymaster

    Hello,

    In this case, try to use the below code.

    .container {
        padding-left: 4em;
        padding-right: 4em;
    }

    If you’d like to contact us, we are here for whatever questions you may have.

    Kind Regards

    #452717

    Pladi1
    Participant

    This works, thanks!

    ~ Closed

    #452720

    Luke Nielsen
    Keymaster

    Hello,

    You are welcome!

    If you ever want to discuss things further, we’re here for you. Do not hesitate to reach out to us and let us know how we can make things right.

    Have a good day!

    Kind Regards

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Website width optimize’ is closed to new replies.