Widget padding

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #20904
    CathyR
    Customer

      Is there a way to adjust the padding in the main widget areas on the home page. ie. less white space above and below.

      #20944
      Wes
      Moderator

        Yes this can definitely be done from the CSS. Do you have a link to your site? If you can point to a specific section then I can tell you which line you’ll need to edit as an example.

        #20954
        CathyR
        Customer
          This reply has been marked as private.
          #20963
          Wes
          Moderator

            Search for this around line 1727 in your style.css –

            /* Flexible Widgets
            --------------------------------------------- */
            
            .flexible-widgets {
            	padding: 140px 0 120px;
            }

            140px – Top Padding

            0 – Left and Right Padding Together

            120px – Bottom Padding

            However much padding you add to the top, make sure and add just as much to the bottom.

            #20986
            CathyR
            Customer

              Okay thanks Wes, I will give that a try. Is there a way to adjust the widget areas individually on the hom page. Widget areas 6 and 10 are showing up with a bit more space top and bottom that I would like. Thanks.

              #21002
              Wes
              Moderator

                Yep, try adding this to your CSS so it can separate those widgets individually from the rest –

                .front-page-6 .flexible-widgets {
                	padding: 140px 0 120px;
                }

                That’s the default padding for one of the main div containers holding the FP6 content. You can adjust the Top – 140px and Bottom 120px to whatever size you want.

                Then add FP10 like this –

                .front-page-10 .flexible-widgets {
                	padding: 140px 0 120px;
                }
                #21009
                CathyR
                Customer

                  Thank you Wes, this worked perfectly!!

                  #21020
                  Wes
                  Moderator

                    You’re Welcome!

                  Viewing 8 posts - 1 through 8 (of 8 total)
                  • The topic ‘Widget padding’ is closed to new replies.