• Resolved alisonkatherine

    (@alisonkatherine)


    I’d like to get rid of the border that frames the site. I’ve already changed it in the customise options (for “background colour”) so that it’s white, and therefore the same colour as the page background. So it’s not obvious until you scroll, but then the white border is very obvious at the top and bottom of the page – you can see this yourself when you visit the site.

    I’ve tried adding various code to ‘Additional CSS’, including messing around with code for the “body” and “site-inner” but I don’t understand the code enough. I also tried coding to make it transparent but that didn’t work either. Any advice appreciated.

    https://taiko.scot

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Alvaro Gómez

    (@mrfoxtalbot)

    Hi @alisonkatherine!

    The CSS code below should remove that margin/padding completely (regardless of what background color you set)

    .site {margin:0}
    body:before, body:after {height:0 !important}

    Let me know if that works!

    Thread Starter alisonkatherine

    (@alisonkatherine)

    Yes, that worked. You’re a star! Thank you.

    I’m actually trying to increase the border, so tried adding larger numbers to your code above, but this didn’t work — it just expands to the default size, but no more.

    I’m also trying to reduce the white space on either side of the text, and that probably will require some other tweak.

    Any tips?

    TIA…

    https://truths.com/blog/

    • This reply was modified 9 months, 3 weeks ago by tunerfish.

    Hi @tunerfish. Could you please open a separate thread for your new question?

    I understand that your questions is related to the original one but having separate threads makes life a lot easier for volunteers to keep track of what has been solved and it also makes it easier for users looking for answers to have individual threads for each question.

    Thank you for understanding 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘delete border around site completely’ is closed to new replies.