Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #1250911

    Hi,

    I’m using blog post content elements on a few pages, but the title and except of these blog posts doesn’t match the font size of the rest of the page/site. Hpw can I amend this?

    Regards,
    Ed

    #1250980

    Hey edgold,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .avia-content-slider .slide-entry-excerpt {
        font-size: 19px;
        line-height: 1.4em;
        font-weight: 300;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1250995

    Great, that works for the excerpt, but doesn’t change the post title size

    #1251255

    Hi,

    Thanks for the update. Please try this CSS as well:

    article.slide-entry h3.slide-entry-title a {
      font-size: 24px;
    }

    Best regards,
    Rikard

    #1252728

    Thanks – this works well, though could you also please share how I can amend the line spacing height for the title. At the moment whenever it wraps there’s a v large gap between the lines of text.

    #1253131

    Hi,

    Thanks for the update. Please try this CSS instead:

    article.slide-entry h3.slide-entry-title a {
      font-size: 24px;
      line-height: 20px;
    }

    Best regards,
    Rikard

    #1253216

    That doesn’t seem to make any difference to the H3 vertical line spacing – I’ve played around with line-height: 20px; and no changes…

    #1253437

    Hi,

    Please try this instead:

    article.slide-entry h3.slide-entry-title a {
      font-size: 24px !important;
      line-height: 20px !important;
    }

    Best regards,
    Rikard

    #1253475

    Hi, I’m afraid this doesn’t work either – changing the font size works fine, but changing the line height has no impact on the front end.

    #1253602

    Hi,

    The code I gave you is not applying since your CSS is served from a cached and minified source. Please try clearing that, or disable the plugin in question.

    Best regards,
    Rikard

    #1253615

    The code is applying fine for the font size, but not the line spacing…

    #1254213

    Hi,

    No it’s not, the titles on your blog page are getting their font size from the theme settings. That means that the CSS we have given you is not applying. Please clear all caches and/or disable your caching plugins.

    Best regards,
    Rikard

    #1255212

    Hi,

    I’m afraid you’re mistaken.

    You’ve given me a piece of CSS code that is supposed to change both the font size and line-height of post titles in blog post content elements.

    When I add this code and play around with the pixel sizes of both font-size: and line-height:, the font size changes (overriding the font size set by the theme) but the line height doesn’t. This suggests that it’s the code that doesn’t work, rather than any caching/plugin issues.

    Regards,
    Ed

    #1255453

    Hi Ed,

    No I’m not, the code I gave you is not applying at all. You can see what is applying on your site in the screenshot in private, if you change that code then the line height will change too, as you can see in the screenshot as well. I can’t tell you where the code is added, since your CSS is cached/minified.

    Best regards,
    Rikard

    #1256871

    Perhaps we’re talking at cross purposes, as (as you can probably tell!) I’m not a developer or designer. What I can assure you is that I have added the code you provided (below) to my quick CSS area, and when I change the font size in the code the font size changes on the front end. However, when I change the line-height there’s no change to the front end.

    Should I give you access to the site so you can check this for yourself?

    article.slide-entry h3.slide-entry-title a {
    font-size: 24px !important;
    line-height: 20px !important;
    }

    #1257407

    Hi,

    Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1257465

    Sure, log in provided.

    #1257857

    Hi,

    Thanks for that. Please upgrade the account to have admin rights, as we can’t access the theme options otherwise.

    Best regards,
    Rikard

    #1257936

    Ah, apologies. Done!

    #1257938

    Please use these details

    #1258226

    Hi,

    Thanks for that. This CSS is added to your Quick CSS:

    article.slide-entry h3.slide-entry-title a {
      font-size: 30px !important;
      line-height: 40px !important;
    }

    And it’s applying to your site: https://imgur.com/a/yEeg7sl

    Best regards,
    Rikard

Viewing 21 posts - 1 through 21 (of 21 total)
  • You must be logged in to reply to this topic.