• matthe21

    (@matthe21)


    I have two pages that are pulling their paragraph widths from the same class tag, but if i change the width of one, it messes up the width of the other.

    example (see inspect element code):

    home page as a .post p width of 50%
    http://matthewrgelfand.com/

    story page needs a .post p width of 100% to look normal
    http://matthewrgelfand.com/pharma-sales/

    My question is, how can i manupulate wordpress to call a different class for one of the pages, so it doesn’t affect the other?

    Thanks.

Viewing 1 replies (of 1 total)
  • WPyogi

    (@wpyogi)

    You can use the WP generated classes in the body tag to target CSS to a specific page:

    <body class="single single-post postid-77 single-format-standard">

Viewing 1 replies (of 1 total)

The topic ‘Paragraph Widths’ is closed to new replies.