Forums

[resolved] cosmetic post corner effect above h2 post title (3 posts)

  1. joecam1673
    Member
    Posted 1 year ago #

    So I'm using this theme called grunge-wall. Everything looks pretty good but in the upper right corner of each post there is a div with a background image that has a small light effect to make the post stand out. I like the effect but if the post titles are to long they go behind the image. Any ideas how I can get the title (an h2) to sit on top of the corner image?

    The site is NSFW I'm afraid and I have disable class in the style sheet until I can get it sorted so its not showing up at the moment but if anyone wants to have a look in firebug or something, let me know and ill un-comment the style.

    Url is http://www.fantasticallynaughty.com

    Thanks,
    Joe

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    this might do:
    position:relative; z-index:10; added to the style below in style.css of your theme:

    .post h2 a, .post h3 a, .post h2, .post h3{
          font: bold 30px Arial, sans-serif;
          color: #959595;
          color: #BD1785;
          text-decoration: none;
    position:relative;
    z-index:10;
    }
  3. joecam1673
    Member
    Posted 1 year ago #

    That worked perfectly, thank you very much for the quick advice
    ~joe

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.