• Resolved cutrano

    (@cutrano)


    Hi Dipak..
    I recently installed the plugin to speed up my site. And while it did improve the load time and score of my site speed it broke the CSS I use with my theme in particular the H1 headings in each section. These are set through custom CSS within the theme to Lato 100 weight and they are NOT loading that way. can you have a look and let me know how to fix it? Deactivating the plugin didnt seem to help

    Website Staging Area
    [ redundant link removed ]

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Dipak C. Gajjar

    (@dipakcg)

    Hi @cutrano,

    If you already deactivated the plugin and the issue isn’t fixed yet, then the issue has to do with something else.

    This plugin removes all its configuration during deactivation, that means any issue occurred due to this plugin should be fixed automatically when you deactivate the plugin.

    * I just checked your site https://e57.8b6.myftpupload.com/ and the h1 tags has Lato 100 weight font.

    Thread Starter cutrano

    (@cutrano)

    Hi Dipak. can you please send a screenshot of what you’re seeing? Ive checked in multiple browsers and definitely do NOT see 100 weight Lato

    This problem started when I installed the plugin. It would stand to reason that if this plugin caused the change to occur that it would also NOT revert the changes back to what they were when deactivated, correct? I’m just guessing. All I know is that it worked before I installed your plugin

    for an example of H1 Lato 100 weight see https://gistone.com

    the site https://e57.8b6.myftpupload.com needs to have that font the same way

    Plugin Author Dipak C. Gajjar

    (@dipakcg)

    Here is a screenshot of what I see on https://e57.8b6.myftpupload.com. I hope I didn’t miscalculate anything.

    Screenshot URL: https://cloudup.com/cBp9yqzYQVY

    Thread Starter cutrano

    (@cutrano)

    Sorry that looks like a 300 weight lato to me.
    See https://gistone.com for what 100 weight Lato is.

    This is my custon CSS

    /* Adjusts the font color of the font in the parallax sections of vertical chained items */

    .footer_widgets_row .featured_article_title, .latest-news a.title, h1, h2, h3, h4, h5 {
    font-weight: 100 !important;
    color: #333;
    }

    Plugin Author Dipak C. Gajjar

    (@dipakcg)

    No, that’s 100 weight Lato. Please check the below screenshot of https://e57.8b6.myftpupload.com/ that includes debug info. from Developer Tools too.

    (click on image to enlarge)

    I hope this helps.

    Thread Starter cutrano

    (@cutrano)

    I know what it says….thats whats puzzling to me. I’m looking at the same thing. And you keep ignoring my message to look at https://gistone.com and see what actual 100 weight Lato looks like.

    Trust me…this isn’t 100 weight. I installed your plugin and it;s broke. Thats the point.

    If you dont know how to fix it just tell me and I’ll uninstall your plugin and move on to try and find support somewhere else.

    Thread Starter cutrano

    (@cutrano)

    For further reference you can have a look at this URL and you can see documentation about the actual Lato font
    https://www.latofonts.com/lato-free-fonts/

    Plugin Author Dipak C. Gajjar

    (@dipakcg)

    Please try to delete the plugin and update me whether deleting this plugin fix your issue?

    In order to use a google font with a different weight from the 400 default, you have to include that into the call.

    Note the difference: in gistone.com the font is included with https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i, while in https://e57.8b6.myftpupload.com it’s being called with //fonts.googleapis.com/css?family=Lato&ver=4.9.5.

    Thread Starter cutrano

    (@cutrano)

    I deleted the plugin about an hour ago. Nothing has changed.

    Thread Starter cutrano

    (@cutrano)

    Felipe…this sounds valid…where do I code that

    In your theme. You should look for where your fonts are enqueued and change it there. If you’re using a child theme you could use something like this:

    function enqueue_lato_weights() {
        wp_enqueue_style( 'lato-google-fonts', 'https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i' );
    }
    add_action( 'wp_enqueue_scripts', 'enqueue_lato_weights', 9 );

    I didn’t test it, but it should work.

    Plugin Author Dipak C. Gajjar

    (@dipakcg)

    * RESOLVED *

    Thread Starter cutrano

    (@cutrano)

    Felipe I’ll give it a shot. Thanks man

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Broken CSS’ is closed to new replies.