Having some css trouble – simple fix?

Community Forums Forums Design Tips and Tricks Having some css trouble – simple fix?

This topic is: not resolved

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  Debra Scott 11 months, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #53267

    dono@inquarta.com
    Participant
    Post count: 9

    Hi there … I’d like to style the h2 “entry-title” within the div “dono-custom-narrow” and I’m having a struggle.

    I’ve tried this in style.css:

    .dono-custom-narrow .entry-title h2 {
    font-size: 14px !important;
    margin: 0% 0% 0% 4% !important;
    }
    but there’s no effect. I think I’m missing something obvious. Would appreciate any advice on this, thanks!

    DonO


    Here’s the html in question, for context:

    <div id=”dono-2″>
    <div class=”wrap”>
    <div class=”dono-custom-narrow”>
    <div id=”featured-post-3″ class=”widget featured-content featuredpost”>
    <div class=”widget-wrap”>
    <h4 class=”widgettitle”>MCAT Prep</h4>
    <div class=”post-8 post type-post status-publish format-standard hentry category-learn entry”>
    < a title=”Develop your Dog Style” href=”http://www.coffeeuniversity.org/learn/this-is-a-second-post/”>
    < img width=”150″ height=”150″ alt=”IMG_0515″ src=”http://www.coffeeuniversity.org/wp-content/uploads/2013/06/IMG_0515-150×150.jpg” />

    // THIS IS THE STYLE I WANT TO ADJUST

    <h2 class=”entry-title”>
    < a title=”Develop your Dog Style” href=”http://www.coffeeuniversity.org/learn/this-is-a-second-post/”>Develop your Dog Style
    </h2>

    <p>Another beautifully written post.</p>
    </div>
    </div>
    </div>
    </div>
    </div>

    #53311

    Debra Scott
    Moderator
    Post count: 132

    could you provide a link to the post/page in question?


    need help with your business or personal website? Contact me at Fat Cat Designs

    #53317

    dono@inquarta.com
    Participant
    Post count: 9

    I fiddled with it a bit more and fixed it, woot!
    DonO

    #53534

    Debra Scott
    Moderator
    Post count: 132

    Great!


    need help with your business or personal website? Contact me at Fat Cat Designs

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

The topic ‘Having some css trouble – simple fix?’ is closed to new replies.