Navigation

    • Login
    • Search
    • [[global:header.categories]]
    • [[global:header.recent]]
    • [[global:header.popular]]
    • MyVR.com

    Controlling your website logo's height

    Websites
    2
    4
    3115
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tristan Brotherton
      Tristan Brotherton MyVR Employee last edited by Danny Eiden

      Often we have customers wanting to further customize their logo on their websites. I thought I’d write a quick post here showing some adjustments we can make with CSS.

      This customer has quite a tall logo:

      0_1476729714606_upload-6bb968ac-0bf7-49c6-8f5e-863eae18c4e7

      Lets adjust it to be a little less tall.

      To do that, we can use this CSS rule.

      <style type="text/css">
      body .logo-wrapper a.navbar-brand.image img {
          max-height: 85px;
      }
      </style>
      

      Note: we could change that height number to anything we wanted…

      Then we can insert this code as explained in this post!

      Result:

      0_1476729987632_upload-2cb1c827-ee22-4a32-886d-353d2daf1eaa

      Ann D Liptak 1 Reply Last reply Reply Quote 1
      • Ann D Liptak
        Ann D Liptak @Tristan Brotherton last edited by

        This post is deleted!
        Ann D Liptak 1 Reply Last reply Reply Quote 0
        • Ann D Liptak
          Ann D Liptak @Ann D Liptak last edited by Danny Eiden

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • Tristan Brotherton
            Tristan Brotherton MyVR Employee last edited by

            Oh yes, forgot about that one, thank you @Ann-D-Liptak

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            About the MyVR Community

            • Getting Started
            • Community Rules
            • Best Practices
            Copyright © 2016 - 2020 MyVR | Contact Us
            Admin Login | Logout