• hi,
    i would like to set two different font size for my blog posts

    first font size: when i’m on a single blog post
    second font size: when my blog posts are displayed on my homepage

    any ideas how to do this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • bimmerime,

    Your homepage should have a body class of .home which means that you could simply do something like this in your CSS

    .home article p {
      //add font styles
    }
    Thread Starter bimmerime

    (@bimmerime)

    thanks for the reply what exaclly should i put in “//add font styles”

    You would add whatever font styles you’re wanting for those posts. For example, let’s say the font size on the blog page is 18px and you want the home page to be smaller, you would add

    .home article p {
      font-size: 14px;
    }

    Have you used CSS before? If not, you may want to research some plugins that would make some of these changes for you.

    Thread Starter bimmerime

    (@bimmerime)

    i tried that but nothing changed. i still get the same font size

    bimmerime,

    Can you provide a URL to your site?

    Thanks

    Thread Starter bimmerime

    (@bimmerime)

    sorry for the late response. my site is not live yet.
    i’m using the avada theme if that will help

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You’re probably better talking to your theme authors/ vendors for support.

    Thread Starter bimmerime

    (@bimmerime)

    anyone with a solution?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Yes your theme authors have the solution. Unless you have a link to show us, you’re asking for us to buy the theme to help you.

    bimmerime,

    It’s hard to direct you without a site / code to look at. I’m sure the avada team can provide better direct support as Andrew mentioned.

    I’ve seen in your history quite a few forum members have requested a link to solve your problems so it will be helpful to go ahead and put the site up on a server so we can provide better assistance.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘set two different font size for my blog posts’ is closed to new replies.