WordPress.org

Support

Support » Plugins and Hacks » Mobile CSS » [Resolved] Change header logo for phones

[Resolved] Change header logo for phones

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Maxaud

    @maxaud

    Hey jewlzmcq,

    Depends on how your logo is added in the first place.

    If the logo is added though a CSS background-image on an element then you can create a new rule that targets phones and sets a new background-image.

    If you’re adding the logo through an img element on the page you can hide the main logo for phones by creating a new rule that targets phoneos and sets the logo to display:none; and then have another img element on the page that was previously hidden that you can then set to display:block; so that logo shows instead.

    Hi Maxaud,

    I have set a .home-logo in the theme-options. I would like to change it on mobile. Is there a possibilty to change the .home-logo src???? Or how can I do that? I can not previously hide another home-logo!

    Thank You! 🙂

    Plugin Author Maxaud

    @maxaud

    Modifying the src of the image isn’t possible with using this plugin. I plan on adding a javascript version of this plugin in the future that will allow for this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Change header logo for phones’ is closed to new replies.
Skip to toolbar