How to reduce bottom padding on .front-page-2

Homepage Community Forums Aspire Theme Support How to reduce bottom padding on .front-page-2

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #21604
    jamesc8913
    Customer

      Hi Wes, how can I reduce the bottom padding on .front-page-2? Thanks!

      #21605
      jamesc8913
      Customer

        Also, how can I adjust the padding on the left and right sides? Thanks!

        #21606
        Eric
        Customer

          All of the padding can be found in the Front Page section inside your style.css file –

          .front-page-2 .image-section {
          	background: #fa5738;
          	padding: 60px 0 20px;
          }
          
          .front-page-2 {
          	margin-left: auto;
          	margin-right: auto;
          	margin-top: -160px;
          	position: relative;
          	width: 1000px;
          }
          
          .front-page-2 h4 {
          	font-size: 34px;
          	font-size: 3.4rem;
          	font-weight: 400;
          	line-height: 1.5;
          	margin-bottom: 20px;
          	text-transform: uppercase;
          }
          
          .front-page-2 .wrap {
          	padding: 0 5%;
          }

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

          #21609
          jamesc8913
          Customer

            On the margin left and right, if I delete “auto” and put in “20px,” it shifts the whole front page 2 over and does not reduce the margin. Would you mind being a little more specific? Many thanks!

            #21614
            Eric
            Customer

              Sure thing!

              Are you asking about Margin or Padding? Your first two posts asked about padding so that’s why I posted the code above. Margin and Padding are both different and have different effects.

              I would leave the code with the margin auto as it is since that’s needed to center the entire front page 2 widget. As a matter of fact, the code I’m talking about doesn’t have margin in it, I just copy/pasted the front page 2 section from the Aspire Demo’s CSS.

              I’ll assume you mean padding in this case (correct me if I’m wrong). To reduce the padding for the top and bottom of the widget you can adjust the padding inside the .front-page-2 .image-section part.

              To reduce the left and right padding, change it under this code .front-page-2 .wrap.

              I’m not sure how much padding you’ll want but if you adjust those 2 parts of the code it should work. It’s basically just the top and bottom CSS Selectors I posted above that you’ll need to edit in order to adjust it.

              Although I don’t know the exact link to your site, this should still work on any Aspire theme install unless you’ve already edited this part of the code.

              Does that help?


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

              #21617
              jamesc8913
              Customer

                That did the trick! Thank you so much and please excuse my lack of knowledge. I’m still learning a lot, but really appreciate your help.

              Viewing 6 posts - 1 through 6 (of 6 total)
              • The topic ‘How to reduce bottom padding on .front-page-2’ is closed to new replies.