• Resolved lexiemink

    (@lexiemink)


    Hi,
    I am a newbie and currently building my website on localhost using the oceanWP theme.
    I installed the OMGF plugin for GDPR reasons and generated a stylesheet as instructed. However, I noticed that some fonts were missing for a subpage, so I generated a stylesheet again using autodetect for that subpage.

    Now the issue is that when I reload my site it only shows “times roman” (checked via F12 inspector), not “monseratt” “libre Baskerville”, etc. which were set in the theme.
    I tried unistalling the OMGF plugin, but the fonts didn’t change back to the theme’s default. Also emptying web browser’s cache didn’t help.

    Any help restoring my theme fonts is greatly appreciated!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Okay, so the way OMGF works is, it generates one stylesheet. Because usually, how a WordPress themes works is: it loads all needed fonts on all pages. Because your browser will not download it, if it’s not actually used.

    This would mean that the 2nd stylesheet you generated, had overwritten the first one.

    Which brings me to my next question: what do you mean when you say: “I noticed that some fonts were missing for a subpage.”

    Does that mean the font you were trying to load isn’t actually loaded on any other page (because that would be bad practice)? Or is no text using that font, except for the text on that subpage?

    Thread Starter lexiemink

    (@lexiemink)

    Thanks for your swift reply!
    Yes, I also think I accidentally managed to overwrite the first stylesheet. But I don’t know where to find and delete it.

    What I mean with “I noticed that some fonts were missing for a subpage” is that that subpage loaded with the wrong font (don’t know which font was actually used, but it looked different when opened in my test browser than in elementor).

    >>Or is no text using that font, except for the text on that subpage?
    Yes, I think this font was only used on that particular subpage, nowhere else in my site. I had imported it from a separate template.

    Could you please provide me with directions to delete the stylesheet(s) and revert to the original state of my theme?

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    No problem ??

    If you simply click ‘Empty Cache Directory’ in OMGF. OMGF’s stylesheet is no longer loaded.

    Thread Starter lexiemink

    (@lexiemink)

    >>If you simply click ‘Empty Cache Directory’ in OMGF. OMGF’s stylesheet is no longer loaded.
    Unfortunately I already tried that and it didn’t help.

    Any other ideas? Did something change in my theme’s header that I need to change back?

    Using F12 I get some infos that might be helpful:
    – psuedo elements:
    body {
    font-family: Montserrat;
    }

    – all fonts on page:
    *Font Awesome 5 Free
    *Font Awesome 5 Free Regular

    *Times
    *Times Roman
    *system

    – downloadable font: download failed (font-family: “simple-line-icons” style:normal weight:400 stretch:100 src index:1): status=2147746065 source: https://localhost:8888/msasol3/wp-content/themes/oceanwp/assets/fonts/simple-line-icons/Simple-Line-Icons.woff2?v=2.4.0

    I appreciate your help! ??

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Did something change in my theme’s header that I need to change back?

    No, OMGF doesn’t make any changes to files.

    Are there any caching plugins active?

    Thread Starter lexiemink

    (@lexiemink)

    No caching plugins as far as I know.

    I’m using the following plugins:
    Contact Form 7
    Elementor
    Flamingo
    Ocean Extra
    Popup anything on click
    Rank Math SEO
    Shariff Wrapper
    Wordpress importer

    I have currently deactivated Autopimize and OMGF. Have emptied my browser’s cache as well. Still no luck.

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Well, I honestly don’t know. You didn’t remove a line of code that disabled all stylesheet from loading or something?

    OMGF isn’t the issue here. That’s for sure, because it isn’t active. And since the code isn’t loaded, its stylesheet (or remnants of it) can’t even be loaded.

    What’s the site’s URL you’re working on, can I see it?

    Thread Starter lexiemink

    (@lexiemink)

    >> You didn’t remove a line of code that disabled all stylesheet from loading or something?
    No, I didn’t touch the code.

    >> What’s the site’s URL you’re working on, can I see it?
    Currently it’s on local host so I don’t have a URL to share.

    I really appreciate your support so far. I might just have to tinker with it a little and see how to salvage it. Thanks. ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘All fonts changed to times roman’ is closed to new replies.