Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • pprle Friend
    #704820

    Hi,

    I would like to reduce the margin between the main content and the top/bottom modules.

    1.Above main content (positions 1 to 4 + 2 customs) reduce the margin by 2/3 (estimate, might need to be refined*)
    2. Under main content (positions 5 to 8 + 2 customs) reduce the margin by 1/2 (estimate, might need to be refined*)

    *I would like the same margin height for both

    Thank you in advance

    TomC Moderator
    #704864

    Try This . . . .

    Paste the following CSS rules within your custom.css file . . .


    .t3-sl {
    padding-bottom: 20px;
    padding-top: 20px;
    }

    .t3-module {
    margin-bottom: -30px;
    }

    You can, of course, play around with the pixel values until you arrive at the result you’re most happy with.


    SAVE CHANGES – CLEAR CACHE – REFRESH PAGE

    Better ??

    TomC Moderator
    #751527

    Try This . . . .

    Paste the following CSS rules within your custom.css file . . .


    .t3-sl {
    padding-bottom: 20px;
    padding-top: 20px;
    }

    .t3-module {
    margin-bottom: -30px;
    }

    You can, of course, play around with the pixel values until you arrive at the result you’re most happy with.


    SAVE CHANGES – CLEAR CACHE – REFRESH PAGE

    Better ??

    pprle Friend
    #704981

    Hi,

    Thank you TomC.

    .t3-module {… is impacting all modules (including sidebars and footers), that is not what I want to achive.

    .t3-sl… helped me partially.

    /* POSITIONING MODULES POSITIONS 1-4 */
    .t3-sl {
    padding-bottom: 0px;
    padding-top: 50px;
    }

    I also tried to add margin-bottom and margin-top to this .t3-sl {… without success.
    So I think it is the global main content area that has to move up now…`
    Can you please further assist me?

    pprle Friend
    #751619

    Hi,

    Thank you TomC.

    .t3-module {… is impacting all modules (including sidebars and footers), that is not what I want to achive.

    .t3-sl… helped me partially.

    /* POSITIONING MODULES POSITIONS 1-4 */
    .t3-sl {
    padding-bottom: 0px;
    padding-top: 50px;
    }

    I also tried to add margin-bottom and margin-top to this .t3-sl {… without success.
    So I think it is the global main content area that has to move up now…`
    Can you please further assist me?

    Saguaros Moderator
    #705201

    Hi pprle,

    You can use this css rule:


    .t3-mainbody {
    padding-top: 24px;
    padding-bottom: 24px;
    }

    and change to your desired value.

    Saguaros Moderator
    #751752

    Hi pprle,

    You can use this css rule:


    .t3-mainbody {
    padding-top: 24px;
    padding-bottom: 24px;
    }

    and change to your desired value.

    pprle Friend
    #705268

    Thank you Saguaros,

    This also helped me further more to adjust the display.

    But I discovered the main reason for the unwanted spacing was due to modules positions not used in some pages…

    pprle Friend
    #705330

    Thank you Saguaros,

    This also helped me further more to adjust the display.

    But I discovered the main reason for the unwanted spacing was due to modules positions not used in some pages…

    pprle Friend
    #751804

    Thank you Saguaros,

    This also helped me further more to adjust the display.

    But I discovered the main reason for the unwanted spacing was due to modules positions not used in some pages…

    TomC Moderator
    #705340

    So is the issue resolved to your satisfaction at this point? 🙂

    TomC Moderator
    #751814

    So is the issue resolved to your satisfaction at this point? 🙂

Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 12 replies, has 3 voices, and was last updated by  TomC 9 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum