Announcement

Collapse
No announcement yet.

Vbulletin 6 header

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    What code would you use if you just wanted to center the logo without stretching it?

    Comment


      #17
      Code:
      #header .site-logo img {
          margin: 0 auto;
          display: block;
      }
      Buy me a coffeePayPal QR Code
      My Amazon Affiliate Link
      Fast vBulletin VPS Host:
      This site is hosted by IONOS

      Comment


        #18
        Originally posted by glennrocksvb View Post
        Then I think the system is resizing the uploaded image based on the configured maximum size in the Attachment Manager in AdminCP.

        If you want, you can stretch the image to force it to fill the full-width by adding this additional CSS:

        Code:
        #header .site-logo img {
        width: 100%;
        }
        I am still looking into this. Do you think it is this setting resizing it? I found this in attachment options?

        Click image for larger version

Name:	image.png
Views:	120
Size:	22.3 KB
ID:	29985​I also was looking at this

        Click image for larger version

Name:	image.png
Views:	57
Size:	78.1 KB
ID:	29986

        Comment


          #19
          That GD option is for quality and not dimensions.

          To avoid the uploaded logo image to be resized, simply upload the file directly to the server preferably in the "images" folder. Then go to Style Variable Editor (for each active Style/Theme you're using) in AdminCP and then edit the "titleimage" variable and set the image URL to the path of the uploaded logo in the images folder.
          Buy me a coffeePayPal QR Code
          My Amazon Affiliate Link
          Fast vBulletin VPS Host:
          This site is hosted by IONOS

          Comment

          Latest Posts

          Collapse

          Working...
          X
          Searching...Please wait.
          An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

          Please push the back button and reload the previous window.'
          An unexpected error was returned: 'Your submission could not be processed because the token has expired.

          Please push the back button and reload the previous window.'
          An internal error has occurred and the module cannot be displayed.
          There are no results that meet this criteria.
          Search Result for "|||"