• Hi,

    on our webpage, we use the menu bar as site header, so I added our name as text to it. Now I want to style that text with css, which is working perfectly on the landingpage. The problem is, that the css is seemingly only working on full width templates, but not on pages with the standard template (e.g. the Blog site). Here all css styling is working excpt for the font, it only loads the fallback font.
    Here the css I’m using:

    .main-navigation .site-branding {
    	float: left;
    }
    
    .main-navigation .site-branding a {
    	line-height: 60px;
    	font-size: 26px;
    	font-family: Bilbo Swash Caps;
    	color: #ffffff;
    }

    Any idea of reason behind this is highly aprecciated.

    Another issue I’m facing is as follows (not too important, since its not affecting the frontend):
    I styled a sidebar widget with CSS, which is perfectly working, though when im logged in as Admin, for some reason an additional CSS is taking affect on that partikular widget, which i did not add anywhere. Once I’m logged out again, the widget looks like its supposed to be. Any idea why?

    I’m using the latest version of GeneratePress free with Elementor Pagebuilder.

    Thank you very much in advance for your help!
    Cheers
    Simon

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Leo

    (@leohsiang)

    Hi there,

    Hmm I’m not seeing any obvious reason why the CSS wouldn’t work on the blog page.

    I can see it loading.

    Can you try #1 here to eliminate any plugin conflicts first? Maybe start with the caching plugins.
    https://docs.generatepress.com/article/debugging-tips/

    Does it help if you publish a post so the blog page has some content?

    The second issue might be a caching issue as well.

    Thread Starter Simon

    (@muesli92)

    Hi Leo,

    thanks for the response. I wasn’t able to find any conflicts, I disabled all plugins except for the code snippets one (I need this one for the text inside the menu bar), still the same results.

    Publishing a Post does’t help either, besides the issue is the same on the imprit (Impressum) and privacy policy (Datenschutzerklärung). So I assume its got nothing to do with missing content.

    I also tried a different font without any luck.

    The weird thing is, I can style all other properties without any issues and the Font takes kind of affect too. If I remove the font-family property, the font slightly changes, which indicates to me, that the fallback font is loading, but not the actual font…

    Theme Author Tom

    (@edge22)

    Looks like the only issue is the font is changing.

    It’s likely that you’re enqueuing that font inside Elementor, so it works when Elementor is active on the page.

    With no Elementor, the font doesn’t exist. You could try setting the site title font to that font in Customize > Typography > Header.

    Let me know if that fixes it or not 🙂

    Thread Starter Simon

    (@muesli92)

    Unfortunately Bilbo Swash Caps is not available in the customizer…

    I guess I’ll try to load the font locally and if that doesn’t work using an image instead.

    Thread Starter Simon

    (@muesli92)

    Ok, so I ended up using an Image.

    Didn’t try to load the font locally though, I was too lazy for that 😉

    Thank you very much for your help!

    Theme Author Tom

    (@edge22)

    Just in case it’s useful, you can add it to the Customizer like this: https://docs.generatepress.com/article/customizing-the-google-font-list/#adding-your-google-font-to-the-list

    Glad you got something working 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘CSS not working on every page’ is closed to new replies.