Unwanted padding around header and responsive slider

Homepage Community Forums Epik Theme Support Unwanted padding around header and responsive slider

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #8586
    sigrun
    Customer

      Hi,
      I have used all the code that you have suggested here to fix the padding around the header and the slider but I still have padding that I don’t know how to get rid of.

      I was able to minimize the height of my custom image with suggested code but still have some unwanted space. Below my custom header is still space that I want to get rid off, I guess it is for another menu but I rather not have this space so that the header area is thinner. How would I get rid of that?

      Then I was able to remove the top padding between the slider and the header but I have not been able to remove the padding below the slider. Is the responsive slider any different than other sliders?

      #8589
      Wes
      Moderator

        Do you have a link so I can see which part of the css you鈥檒l need to edit?

        #8591
        sigrun
        Customer
          This reply has been marked as private.
          #8593
          sigrun
          Customer

            I sent a private message with the link.

            #8597
            Wes
            Moderator

              Take a look around line 1995 or search for this in your css –

              .header-image .site-header .widget-area {
                  padding: 26px 0;
                  padding: 1.625rem 0;
              }

              Change the code in your css to what I have above and see if that works. The rem didn’t match the px in your css, so I added in the correct number to make sure they are equivalent. I also decreased the rem that was being used. It looks like you tried to adjust the padding to 10px but didn’t adjust the rem….which was why it looked like that. Most browsers will use the rem first before the px.

              For the bottom of the slider – look around line 1184 and remove the 20px bottom margin like this –

              .slider .wrap {
                  margin: 0 auto 0;
                  padding: 0;
                  width: 1140px;
              }

              There will still be a little bit more space you’ll need to remove, and this can be done on line 1190. Remove the margin bottom –

              .slider .widget {
                  margin: 0;
              }

              That should do it.

              I like the direction you’re going in with the design! Send me your link when you’re done with the site and I can add it to the Showcase – https://appfinite.com/showcase-your-site/

              #8631
              sigrun
              Customer

                Yay!!! That worked! Thank you so much!

                And glad you like what I have done with the theme. I will happily let you know when I am ready to go live 馃檪

                Thanks again for your help!

                #8638
                Wes
                Moderator

                  You’re Welcome!

                Viewing 7 posts - 1 through 7 (of 7 total)
                • The topic ‘Unwanted padding around header and responsive slider’ is closed to new replies.