Logo getting cut off at certain browser widths…

Homepage Community Forums Epik Theme Support Logo getting cut off at certain browser widths…

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13931
    Robert
    Customer

      I’ve encountered a bug in this theme where the logo is getting cut off at it’s right extremity when the browser is sized to a certain width. To illustrate, I’ve provided the following images?

      1. Here is it working properly…

      http://successcoach.wpengine.com/wp-content/uploads/2014/09/screen1.jpg

      2. Here it is with the browser window (Chrome in this case) is sized more narrowly. Notice how part of the right of the logo is cut off…

      http://successcoach.wpengine.com/wp-content/uploads/2014/09/screen2.jpg

      #13933
      Robert
      Customer

        Also, I just noticed the nav menu is also shifting to the left instead of staying right aligned (this can been see in the 2nd screenshot above as well.)

        #13939
        Robert
        Customer

          Just noticed, on my Android it is also cutting off the right end of the logo as well.

          Also, am I in the right place for developer support or is this just for public questions?

          #13948
          Eric
          Customer

            Thats not a bug you just have to set the size for your image so it shows up properly on certain devices. Since everyone’s logo is different, you have to specify in your css how you want it to appear and adjust when viewed on smaller devices.

            To fix this, you would need to look near line 4009 in your style.css file and change the width from 300px to around 360px or so –

            	.sidebar-primary,
            	.title-area {
            		width: 360px;
            	}

            The reason it’s cut off is because the responsive section of your css kicks in and takes affect when the browser is either resized or viewed on a smaller resolution (tablets, phones, etc). So if the image is set to 300px and your image is wider than that size it won’t show. The way to fix this is to either change the width or have it set to be responsive/adjust no matter what size the browser is.

            The logo area and the navigation are both in their own div/container. If they both exceed the width of the header (which is 1140px) the nav will fall off to the side since it’s not possible to have to divs that exceed the width. The width to the nav should be lowered to either a percentage or a smaller fixed width and then you’ll be able to have them both fit inside the header. You can find the code to change on line 3998 in your css. You can dabble with the numbers until you get it where you want. I’d start at around 50%. Right now its at 620px, so try and change it to look like this –

            	.content,
            	.site-header .widget-area {
            		width: 50%;
            	}

            I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.