Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #1058658

    I have added some custom styles for the Main Menu and for the Headers too. I have set it to be Monserrat 700 but the site is not showing the changes. I have tried clearing the cache etc. but still not working.

    #1058682

    Hey shanhard,

    Have you made sure that the weight is added to the file in order to be used?

    <link href="https://fonts.googleapis.com/css?family=Montserrat:700" rel="stylesheet">

    Best regards,
    Jordan Shannon

    #1058684

    I am using the default font in the Enfold theme, I haven’t added any file.

    #1058697

    Also, when the page first loads, it shows the 700 weight for a brief second, before reverting to a thinner version of Monserrat.

    #1058699

    Hi,

    Please try adding the script I gave to the header.php file before the closing head tag.

    Best regards,
    Jordan Shannon

    #1058710

    Ok that fixed it, thanks!

    #1058712

    How do I make this a permanent change so that when I update the theme it doesn’t overwrite the addition to header.php?

    #1059091

    Hi,

    Are you using a child theme? If not then I would recommend installing one since edits to all templates will be overwritten in the parent theme. I tried logging in to check your site but the login details are not working.

    Best regards,
    Rikard

    #1059105

    Yes, using a child theme. Please try logging in again, I have reactivated the temp login.

    #1060212

    Hi,

    I tried the login it says it is de-active – can u please check it?

    Best regards,
    Basilis

    #1060408

    I just logged in using the temporary login that I created, works fine. Please try again.

    #1061514

    Hi,

    Thanks for that, you have active caching and file compression on the site. Please try to clear and turn that off when making edits on the site. Here a guide on when to not have active caching.

    Best regards,
    Rikard

    #1061541

    I want to know how I can add the modified code to my child theme, I have no idea what you’re talking about Rikard?

    #1062115

    Hi,

    You have a plugin on your site called LiteSpeed Cache. That is a caching plugin and if active then that will serve cached versions of your site to visitors. If you don’t know what caching is then I would suggest that you search for it. I’m asking you to delete the cache from the plugin and leave it deactivated if you find that your code is not applying as expected.

    Best regards,
    Rikard

    #1062165

    The caching plugin wasn’t added until after the site was configured, I have made no changes to it since then, and actually I have not had a problem with the cache!

    My question that still remains unanswered is: How do I add Jordan’s code to my child theme so that it won’t get overwritten when I update the theme?

    #1062569

    Hi,

    Ok, thanks for the clarification. If you want to add it to header.php then copy that file from the parent to the child and add the code there.

    Best regards,
    Rikard

    #1062676

    Great, thanks!

    #1062877

    Hi,

    Did you need further help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1063145

    Please close. thanks again :-)

    #1063337

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘Advanced styling not working’ is closed to new replies.