-
AuthorPosts
-
March 31, 2017 at 11:33 am #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 helpPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
April 1, 2017 at 3:39 am #1023779Hi
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; }
April 1, 2017 at 8:26 am #1023843Well 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.cssand insert :photographer in suffixe of menu
it do not workApril 1, 2017 at 8:29 am #1023845Use page class and add the page class before the custom code.
i don’t understand
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
April 1, 2017 at 8:33 am #1023847Hi
Kindly share the page URL and share screenshot of the part in which you want to reduce the padding.April 1, 2017 at 11:39 am #1023889https://microbib-prelivre.com/resume/index.php that is the URL. And the part is the first part up of the NOS PRODUITS padding
April 1, 2017 at 11:41 am #1023890I just want have the exemple because after that i will need to do same one other pages with different padding
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
April 3, 2017 at 2:36 am #1024086Hi
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
-
AuthorPosts
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