Wanting the first paragraph of my content on the home page to be a larger font

  • Author
    Posts
  • #1024059

    Wanting the first paragraph of my content on the home page to be a larger font?

    The blog I need help with is instinctivemindsdotcom.wordpress.com.

    #1024284

    zandyring
    Staff

    Something like this may help you – add to your CSS stylesheet:

    #content p:first-child {font-size: 110%;}

    Give it a try and see how it works.
    Good luck!
    -Z

    #1024285

    thegiddygoat
    Member

    When you are editing a post click on the ‘Paragraph’ drop down to change the size.

    #1024286

    1tess
    Moderator Emeritus

    @thegiddygoat

    The Original Poster is asking about CSS, not how to adjust a single paragraph.

    Also:
    Using the headings formats to change the size of text in a paragraph is not best practice and could ever affect how a site is indexed by search engines.

    From http://www.w3schools.com/html/html_headings.asp :

    Use HTML headings for headings only. Don’t use headings to make text BIG or bold.

    Search engines use your headings to index the structure and content of your web pages.

    Since users may skim your pages by its headings, it is important to use headings to show the document structure.

    H1 headings should be used as main headings, followed by H2 headings, then the less important H3 headings, and so on.

    https://en.forums.wordpress.com/topic/header-use-in-designs?replies=17

    #1024288

    duto
    Member

    @1tess:
    In my opinion, there is a difference between “big” (by percentage increase as stated by zandyring) with to make “big” in the context of/using “heading” (H1 and so on). Make “big” by increasing the percentage does also affect the indexing of Google?

    #1024289

    1tess
    Moderator Emeritus

    @duto,

    I don’t think that altering type size by percentage or specifying a larger size font would affect SEO: that is just formatting like color or underlining. That formatting brings human attention to text, but a computer doesn’t give more attention to such things.

    Using header tags signals to a computer how important one thing is compared to another: H1 is more important than H6.

    #1024291

    zandyring
    Staff

    To add to @1tess, things like <em> and <h1> are designed specifically for SEO and screen readers – it gives priority to items (like she says, H1 is more important than H6), so that a screen reader will read the web site in the correct order. If you start monkeying with that priority, you make your site less accessible, which affects search engine indexing.

    And as @1tess says, style changes like changing the color of text or making text a different weight (not adding emphasis) don’t change how a search engine will index the site.

    #1024343

    Hi Guys,

    Thanks all for you feedback. I am brand new to this so it’s like a whole other language for me but hopefully I will pick up.

    I am simple wanting one for my pages, the home page first paragraph to be large in size then the rest. I had no idea it could impact the search engine side of things so thanks.

    #1024344

    Zandyring – You coding worked a treat. Thank you so much.

    #1024345

    Hi Giddygoat.

    I like your suggestion but where is it located – the Paragraph’ drop down to change the size. Sorry I am new at this and can’t see it.

    #1024346

    Hi Guys, another one for you sorry. What if I am wanting to increase the size of a sentence?? Thanks

    #1024348

    thegiddygoat
    Member

    @instinctiveminds if you can’t see the ‘Paragraph’ drop down then you probably haven’t got the ‘kitchen sink’ open. Open a new post and go to the end icon (just below where it says ‘Visual’) and click on it to reveal the ‘kitchen sink’ and there you will find ‘Paragraph’, amongst other things. Click on the drop down from ‘Paragraph’ and choose your size.

The topic ‘Wanting the first paragraph of my content on the home page to be a larger font’ is closed to new replies.