Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • mickael n. Friend
    #1023621

    Hi, somebody con tell me how could i reduce the padding-top : vh of master-top on different template ?

    ihave fouond something
    .t3-mast-top + script + .t3-features-intro, .t3-mast-top + .t3-features-intro, .t3-mast-top + .body-background, .t3-mast-top + script + .body-background {
    padding-top: 50vh;
    }

    but if i do that it make the mofif for all site
    Thank you for the help

    Pankaj Sharma Moderator
    #1023779

    Hi
    Use page class and add the page class before the custom code.
    For example: in Menu options, you added custom as page class for a menu.
    Now use code as below

    .custom .t3-mast-top + script + .t3-features-intro, .t3-mast-top + .t3-features-intro, .t3-mast-top + .body-background, .t3-mast-top + script + .body-background {
    padding-top: 50vh;
    }
    mickael n. Friend
    #1023843

    Well i have insert :
    .photographer .t3-mast-top + script + .t3-features-intro, .t3-mast-top + .t3-features-intro, .t3-mast-top + .body-background, .t3-mast-top + script + .body-background {
    padding-top: 50vh;
    }in my custom.css

    and insert :photographer in suffixe of menu
    it do not work

    mickael n. Friend
    #1023845

    Use page class and add the page class before the custom code.

    i don’t understand

    Pankaj Sharma Moderator
    #1023847

    Hi
    Kindly share the page URL and share screenshot of the part in which you want to reduce the padding.

    mickael n. Friend
    #1023889

    https://microbib-prelivre.com/resume/index.php that is the URL. And the part is the first part up of the NOS PRODUITS padding

    mickael n. Friend
    #1023890

    I just want have the exemple because after that i will need to do same one other pages with different padding

    Pankaj Sharma Moderator
    #1024086

    Hi
    On this page https://microbib-prelivre.com/resume/index.php
    Here is the code

    .t3-mast-top + script + .t3-features-intro, .t3-mast-top + .t3-features-intro, .t3-mast-top + .body-background, .t3-mast-top + script + .body-background {
        padding-top: 100vh;
    }

    Here : http://prntscr.com/erqi0j

    Add page class test in menu options

    Use below code in custom.css and it will work

    .test .t3-mast-top + script + .t3-features-intro, .t3-mast-top + .t3-features-intro, .t3-mast-top + .body-background, .t3-mast-top + script + .body-background {
        padding-top: 100vh;
    }
    

    see this : http://prntscr.com/erqi9z

    Regards

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

This topic contains 7 replies, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 7 months ago.

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