Pixelwars Pixelwars Pixelwars

crafting wordpress themes

  • Home
  • Themes
  • Support
  • Blog
  • About
  • Contact

Change logo size in header for mobile

  • Posted in : cvCard WP
  • satprem
    Participant
    9 September 2016 at 15:25
    #43827

    Logo in the header I limited to the attribute “max-width”: 15%, but how to make a different size to the mobile version of the site? For example, for the mobile version I would like to set the max-width: 40%. Thank you!

    serkan
    Moderator
    9 September 2016 at 16:20
    #43836

    Hi satprem,
    This custom css code for the mobile devices.

    @media screen and (max-width: 767px) { .header img { max-height: 120px; } }

    This custom css code for the desktop view.

    .header img { max-height: 160px; }

    Thanks

    satprem
    Participant
    9 September 2016 at 18:42
    #43854

    It’s work! Thank you very much!

    serkan
    Moderator
    10 September 2016 at 00:19
    #43865

    You’re welcome, please don’t forget to rate the theme on themeforest if you liked it, thanks.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
cvCard WP - Responsive WordPress Resume Theme

cvCard WP - Responsive WordPress Resume Theme

by pixelwars
Login and Registration Log in · Register

User Login

Log In
Register Lost Password

Search Forums

Advanced Search
© 2026 Pixelwars