WordPress.org

Ready to get started?Download WordPress

Forums

Fix wrong CSS order! (3 posts)

  1. Arafin Shaon
    Blocked
    Posted 1 year ago #

    I’m using these codes snippet to make post 1st letter larger (you probably know it’s know as drop cap if you are familiar with thesis theme framework!) in my genesis child theme. The problem I’m having with it is, it’s not only making my post’s 1st letter larger but also making my teaser’s and blockquote item's. I don’t want my teaser’s and quoted item's 1st latter larger except post. Can anybody help me regarding this? Any help will be appreciated :)

    /***** Drop Caps ********************/
    .entry-content p:first-of-type:first-letter {
    font-size: 50px;
    color: #7A0001;
    padding: 10px 10px 5px 0;
    float: left;

    What if I want only teaser’s & post’s 1st letter larger not anywhere else! what will be the snippet?

    take a look :- wpfaqs

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Use a browser inspector tool or inquire on a CSS-specific forum for these queries.

  3. Arafin Shaon
    Blocked
    Posted 1 year ago #

    tnx@Andrew for your recommendation.

Topic Closed

This topic has been closed to new replies.

About this Topic