WordPress.org

Forums

F2
[resolved] Removing gray borders (11 posts)

  1. sallam
    Member
    Posted 2 years ago #

    Hi everyone!

    I need to remove the grey borders surrounding the pages, from top, bottom, left and right, so that all the blog becomes all white. How can I do that please?

  2. Andrew
    Forum moderator
    Posted 2 years ago #

    Do you have a section of the dashboard named, "Custom CSS" or "Edit CSS"?

  3. sallam
    Member
    Posted 2 years ago #

    I have "editor" under "Themes", where I can edit the stylesheet files..

  4. Andrew
    Forum moderator
    Posted 2 years ago #

    Install this Custom CSS Manager plugin and use its section of the dashboard to hold this CSS:

    #page {
     -webkit-box-shadow: none;
     -moz-box-shadow: none;
     box-shadow: none;
    }

    Edit: Links amended.

  5. sallam
    Member
    Posted 2 years ago #

    Many thanks, but...
    I've installed and enabled the plugin, and added your code. But nothing happened, the borders are still there.

  6. Andrew
    Forum moderator
    Posted 2 years ago #

    We cannot see your issue.

  7. sallam
    Member
    Posted 2 years ago #

    here is my blog:
    http://my2cents.gawaher.com/

  8. Andrew
    Forum moderator
    Posted 2 years ago #

    Add this code:

    body {
     background: white;
    }
  9. sallam
    Member
    Posted 2 years ago #

    Great, it worked! thanks very much.
    Now can you please show me how to also remove the thin black line surrounding the header area?

  10. Andrew
    Forum moderator
    Posted 2 years ago #

    Add

    #header {
     border: 0;
    }
  11. sallam
    Member
    Posted 2 years ago #

    Thank you so very much. That is exactly what I wanted.
    I cannot thank you enough for your prompt help.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic