• Hello, I want to change the size of post title. I have managed to do so by adding:-
    .entry-title {
    font-size: 30px !important;
    }
    to the bottom of my Twenty Eleven child theme, css.
    However this changes the size of all post titles. I only want the first post (sticky) to have large text/font size and the other post titles to be smaller.
    roymilburn.com

    I appreciate there are loads of posts here and information online but, I can not find the exact answer.
    Thank you.

Viewing 6 replies - 16 through 21 (of 21 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Yeah, it makes our lives much easier because we don’t have to wade through hundreds of lines of code. There’s much more chance of you receiving a solution.

    Thread Starter Jane Milburn

    (@jane-milburn)

    It’s very difficult knowing what to believe from online answers. I have learnt my lesson though and will only listen to experts on their subject like yourself and some moderators here.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    only listen to experts on their subject like yourself and some moderators here.

    Well… When I started out on forums, I used to make mistakes because I didn’t know anything about Child Themes, or WordPress.
    We encourage everyone to post here, make mistakes and learn from them ??

    I don’t actually use WordPress myself so I’m probably a bigger novice than anyone I meet on forums.

    Thread Starter Jane Milburn

    (@jane-milburn)

    lol, well you certainly helped me. Thank you very much. It’s 2am here, so I will sort this tomorrow.

    Sorry, I made a mistake in my code. I’m missing a dot in front of entry-title

    .sticky .entry-title {
    font-size: 30px !important;
    }
    Thread Starter Jane Milburn

    (@jane-milburn)

    Thank you so much, but in the end I changed things around completely and do not need to adjust the post title size. However, I probably will at some stage, so your help is much appreciated.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Post title size.’ is closed to new replies.