• user256

    (@user256)


    I’m trying to build an adult website using twentythirteen (link here [NSFW]) modelled after another one i build in twentytwelve (link here [NSFW]) however i’m running into some problems.

    Firstly the excerpt is indented, less than a third of the entry area and even when i correct this using an absolute width the buy now and learn more boxes cover the title of the article below.

    can anyone offer any assistance?

Viewing 7 replies - 1 through 7 (of 7 total)
  • ronangelo

    (@ronangelo)

    Add this to your custom CSS

    .entry-summary {
        padding: 8px !important;
    }

    Thread Starter user256

    (@user256)

    Thank you so much i spent ages trying to fix that!!

    Don’t suppose you have any idea how to stop the custom fields overlaying the next title!

    ronangelo

    (@ronangelo)

    What custom fields?

    Thread Starter user256

    (@user256)

    the buy now and learn more links below the excerpt are populated ising advanced custom fields

    ronangelo

    (@ronangelo)

    You’ve added height to posts #posts {height: 450px;}
    This forces posts with longer content to overflow to the one below.
    Remove the height. If you want you can add a min-height instead.

    Thread Starter user256

    (@user256)

    Thank you so much for that couldn’t see it for looking at it!

    out of curiosity why is the !important; required?

    ronangelo

    (@ronangelo)

    out of curiosity why is the !important; required?

    You mean here?

    .entry-summary {padding: 8px !important;}

    Just in case padding for entry-summary is already declared somewhere, adding !important will make sure our own declaration is followed.

    You can also make the css target more specific than the other declarations so you wouldn’t have to add an !important

    .content article .entry-summary {padding: 8px;}

    Tip: just in case you aren’t already using it, try to install firebug. It’ll make website customization a lot easier and faster.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘NFSW CSS Problem’ is closed to new replies.