Slider left and right margins

Homepage Community Forums Epik Theme Support Slider left and right margins

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11735
    dcherry
    Customer

      I cannot get rid of the grey margins on the full-width slider. It looks great on a PC screen (now grey margins with Browser maximized) but when I make the browser smaller the picture is not responsive and the side margins show up. Also, grey margins are visible in both portrait and landscape of Ipad

      http://cherrypitt.com

      Appreciate any help!

      #11753
      Eric
      Customer

        It’s actually just the width of the div that contains the slider –

        .slider-inner,
        
        	#welcome .wrap,
        
        	#home-feature-bg .wrap,
        
        	#home-feature-bg-alt .wrap,
        
        	#home-feature-bg-dark .wrap {
        
        		margin: 0 auto;
        
        		padding: 40px 0 0;
        
        		width: 92%;
        
        	}

        Which shows up on line 7719 in your css. For some reason you have a lot of spacing/breaks in your css which is causing your css to be bigger than it should be. Not sure how to fix that other than doing it all manually….or running your code inside a place like this – http://cleancss.com/ ….backup your work just in case it doesnt work properly.

        I would take this – .slider-inner and move it to it’s own line like this –

        .slider-inner {
            width: 100%;
        }

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

        #11782
        dcherry
        Customer

          Thanks for the help Eric! I’ll check out the css tool you suggest.

          Take care and have a good holiday.

          DC

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