Site logo

Archived topic

Text highlight color on mobile header only

7 replies · Started by Susanne on July 27, 2017

Viewing posts 1–8 of 8

Hi,

I'd like to add a "highlighted" or background white transparency block to the header text for the mobile version only. Is there a place within customization where I can do that? I've also been looking for where to set the mobile cropping of the header image to "centered" rather than crop left. Please advise, thanks!

Hi there,

Are you able to provide a link to your site? Thanks!

Sorry not sure what you mean. Are you referring to the slider?

no, the subpages (ex. http://divadesign-com.apache4.cloudsector.net/wva_concept1b/treatments/other-conditions/)

See how the text "other conditions" gets obscured when it's positioned over the woman's dark hair in the header image? On the desktop view it's centered so there's no problem. I know it's possible to set alternate header images, but I'm looking for a place or way to add a white" shadow or bar behind header image text to mobile only.

Try this:

@media (max-width: 768px) {
    .inside-page-header h1 {
        background-color: #ffffff;
    }
}

That works perfect, thanks!

No problem!

This archived topic is closed to new replies.