Need help? Check out our Support site, then


Increase size of paragraph for one page - Home instead of all

  1. Hi Guys,

    Newbie here again. I am using the below code as I am wanting my home page first paragraph to be larger then the rest of my font. However with this code it's making ALL of my pages first paragraph's be this size. Is there any code to distinguish the pages?? Thanks

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

    Also does anyone know how to increase the size of a sentence only on a particular page. It's driving me nuts. Thanks

    The blog I need help with is instinctiveminds.com.au.

  2. Is there any code to distinguish the pages?? Thanks

    Yes, add ".home" to the beginning of the selector (right before "#content").

  3. Also does anyone know how to increase the size of a sentence only on a particular page.

    You should do that from the HTML editor. Here is an example:

    <span style="font-size: 150%;">This sentence should be BIGGER!</span>

  4. Designsimply thank you so much. It was doing my head in. Made more frustrating as I knew it would be a simple code, as you have shown. Once again a big thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic