Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #279927
    Bastien Chilloux
    Participant

    Hi,

    How can I add margin to bothe sides (left, right) of my entire website ?
    I already have a CSS code to reduce the horizontal space in-between my column blocks, which I’d like to keep, but how can I keep the original width of the pages without affecting this horizontal space ?
    It looks like those two settings are dependent to each other.

    Can you help on this ?

    https://bastienchilloux.com

    #279974
    tikaram
    Participant

    @bastienchill: Please try adding the following additional css and let me know.

    body.custom-background {
    	margin: 0 10px 0 10px;
    }

    Regards,
    Tikaram

    #279977
    Bastien Chilloux
    Participant

    Perfect ! Thank you !

    #280758
    tikaram
    Participant

    @bastienchill: Glad to know that the additional css worked. let me know if you have any more issues.

    Regards,
    Tikaram

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Add margin on both sides of the page’ is closed to new replies.