About 20,400,000 results
Open links in new tab
  1. html - Reduce size of logo on minimum width? - Stack Overflow

    Reduce width on this page to see what I mean. Update: Using @joshhunt code, it now squashes the navbar and logo together. CSS (vanilla bootstrap except for): .navbar-brand { max-width: 200px; height: auto; /* So the image doesn't distort */ HTML page:

  2. CSS Styling Images - W3Schools

    Learn how to style images using CSS. You can use the border-radius property to create rounded images: Also look at the CSS Image Shapes chapter to learn how to shape (clip) images to …

  3. Resize your logo using CSS - FolioHD Online Portfolios

    Following along with this video will allow you to easily modify the size and positioning of your logo. header { padding-bottom: 10px; } header .logo { height: 75px; margin-bottom: 0 !important; max-width: 350px; width: 350px; } #menu-contents nav { margin-top: 17px; } Logo support is available on Power and Pro subscriptions.

  4. Creating Responsive Logo with CSS min () Function - UsefulAngle

    Apr 6, 2020 · A responsive logo can be achieved with CSS min () function — without involving any media query. The CSS min () function calculates the minimum value from a set of given …

  5. Resizing a logo in CSS - HTML-CSS - The freeCodeCamp Forum

    Sep 16, 2021 · if you are using font-Awsome or importing logos from outside, you can use font-size to control it’s size as they are considered as a font. if your using svg, you can use width …

  6. How to Control the Size of an Image without Stretching in CSS

    Jun 20, 2024 · Directly setting an image's width and height can lead to stretching or squashing, distorting the original aspect ratio. Fortunately, CSS offers several techniques to resize images without distortion.

  7. CSS: resizing logo while maintaining aspect with browser

    Aug 15, 2011 · By using the <img> element for images, of course. It is possible in a background image. See this demo at CSSplay. Ethan Marcotte has also detailed techniques that may fit your application.

  8. Change Header and Footer Logo Size - CocoBasic

    To change image size for Header and Footer logo, in: Dashboard > Appearance > Customize > Additional CSS. add code like this: This code will use the original sizes for Header and for Footer images. But, after this code, your header logo (maybe) is not center properly with " Menu " lines.

  9. How to Set the Fixed Size Logo Via CSS – TheLinuxCode

    Dec 27, 2023 · For the best results, you’ll want to meticulously control the logo size and placement using Cascading Style Sheets (CSS). In this comprehensive 2500+ word guide, you’ll learn insider tips and standards for fixing the dimensions of custom logos on the web.

  10. How to Resize an Image Using CSS - Best 3 Methods | TinyMCE

    Apr 22, 2025 · Image resizing in CSS Image resizing in CSS gives users control over how an image appears within its container without needing to alter the original file. Fixed dimensions are set using width and height properties, and images are made responsive with values like max-width: 100% to ensure they scale with the layout.

Refresh