WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't target page margins (3 posts)

  1. jphogan
    Member
    Posted 1 year ago #

    http://iamsinc.com/blog/12-bonus-9-mga-commission-learn-more-about-this-equitrust-product/

    I want to remove the margin so that the word "test" (and anything I put on the page) goes all the way to the edge, next to the background.

    I have tried targeting it numerous ways including
    '.page-id-1089 .singular #content {
    margin:0;
    }'

    which I feel should be correct. I actually have that currently on my Child stylesheet, but it's not having any effect. I want to adjust the margin for just this page. Thank you!

  2. Eric Holmes
    Member
    Posted 1 year ago #

    Remove the space between .singular and .page-id-1089, both classes are on the same element.

    .page-id-1089.singular #content {
    margin:0;
    }
  3. jphogan
    Member
    Posted 1 year ago #

    Thank you so much! Thank you for explaining why too. I'm hacking my way through learning CSS which leaves serious gaps in my knowledge. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic