Margins and Padding on Different Types of Pages

  • Author
    Posts
  • #116865
    Drobb
    Power User

    I used

    .entry-content {
    padding-left: 50px;
    padding-right: 50px;
    }

    For left-right white space across pages and posts (used similar code to move the headers over), but this is not catching many of the elements on single posts, and pages with comments.

    Is there a clever way to target all of those elements at once?

    #117384
    Zed
    Cryout Creations mastermind

    Hi,

    Applying that padding to the #content container instead of .entry-content should avoid having elements that remain uncovered.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #117451
    Drobb
    Power User

    Thanks Zed!

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

The topic ‘Margins and Padding on Different Types of Pages’ is closed to new replies.