Site logo

Archived topic

Mobile Header is Different

7 replies · Started by Alirio on December 10, 2019

Viewing posts 1–8 of 8

My mobile header looks different than my desktop header. Logo Text is blue on desktop and black on mobile.

I also have a top blue line on desktop doesn't show on mobile. Can't figure out why? Any help would be appreciated.

Thank you!

Rio

Hi there,

Edit this CSS:

.site-header {
    border-top: solid 4px #91BED4;
}

to

.site-header, #mobile-header {
    border-top: solid 4px #91BED4;
}

Let me know if this helps :)

Thank you! That worked.

Any idea about the logo? It shows black on mobile.

It's set to Site Title. I don't have an image as the logo. I figured the mobile Site Title would inherit the desktop styling.

Under colors/header, I have a blue for my Site Title that's only applying to the desktop Site Title and not the mobile version.

Ahh I see.

Try this CSS:

@media (max-width: 768px) {
    .navigation-branding .main-title a, .navigation-branding .main-title a:hover, .navigation-branding .main-title a:visited {
    color: #5babd3;
    }
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

Let me know if this helps :)

Looks good now! Thank you!!!

I need a CSS course.

This archived topic is closed to new replies.