Skip to content
UXL Themes
Free and premium WordPress themes
  • Themes
  • Plugins
  • Documentation
  • Support
  • Contact
  • Login
  • Register
  • 0

[Resolved] Changing size of site logo (image at top)

Home › Forums › Lorina Pro › Changing size of site logo (image at top)

Tagged: site logo

  • This topic has 3 replies, 2 voices, and was last updated 1 year, 5 months ago by kristincali.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 14, 2021 at 5:10 am #14747
    kristincali
    Participant

    My site logo (the image at the very top) is displaying larger than the actual image even is. Is there a way to change that size? Preferably by percentage?

    October 14, 2021 at 10:28 am #14748
    kristincali
    Participant

    website is kristinbytheocean.com

     

    October 14, 2021 at 10:45 am #14750
    Andy
    Keymaster

    Your logo image is 500×195 so it will never display larger than those dimensions.

    I can see on your site you have already added some custom CSS to give the logo a maximum display width of 283px.

    Yes you can use a percentage instead, example:

    .custom-logo {
        max-width: 50%;
    }

    One thing to note is that using percentage will give the image a maximum width of the available area in which it sits.
    So for example, the width of the inner container of the header is say 980px, then using max-width: 50% would display the logo at 490px width. This is 50% of the 980px container, not 50% of the 500px wide image.

    So it may make more sense in some instances to use a pixel value instead, example:

    .custom-logo {
        max-width: 283px;
    }
    October 18, 2021 at 6:57 pm #14762
    kristincali
    Participant

    Very helpful. THANK YOU.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Changing size of site logo (image at top)’ is closed to new replies.

Recent Support Topics

  • Customize Link Showing a 404 Not Found Page
  • Header section mobile compatability
  • Demo Site
  • Change the background color of the Tiny MCE Editor
  • Increasing font size on Top Bar Menu
  • Removing store Heading from store page
  • Vertical ‘bars’ are missing
© 2023 UXL Themes
  • Themes
  • Plugins
  • Documentation
  • Support
  • Contact
  • Terms and Conditions