• Resolved Coombsy

    (@coombsy)


    Hi, Im trying to increase the margins on this single column page for my website https://spartans.com.au/selections/ to make it not have the huge blank borders on either side (and so that the table at the bottom can display all the information on one line).

    Also, only for this particular page as I’m happy with all the other margins on the website.

    Any idea how I can go about doing this?

    I’m a complete WordPress newbie so an ELI5 version would be hugely appreciated!

    Thanks a lot!

Viewing 1 replies (of 1 total)
  • Thread Starter Coombsy

    (@coombsy)

    Guys, I think I’ve worked it out!

    What I did was go into the editor on the theme’s stylesheet “styles.css” and then at the bottom of the input box below everything else, add this line:

    .page-id-5800 .one-column #content {
    width: 960px;
    }

    Where the “5800” is the page ID for the particular page you want to change the width of and the 960 is how small you want the margins (higher = less)

    Find the page ID by editing the page you want to change the margins for, and then in the URL, find the number where it says post=5800 (obviously the 5800 will change).

    Hope that helps anyone in the future, message me if you need a better explanation!

    Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘Increase Margins On A Single Page’ is closed to new replies.