![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
I've been trying to figure out how to add padding to the custom widget that I registered on the home page but I think I am overlooking something obvious. I added this to my css but it doesn't seem to care:
.custom-slider{ padding: 0 0 30px; width: 100%; } Any help is appreciated. http://mindschmootz.net/development/ |
|
#2
|
||||
|
||||
|
There is not a div on your home page with a class of "custom-slider" assigned to it.
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
|
#3
|
|||
|
|||
|
Can you give me an easy example of how to do that?
|
|
#4
|
||||
|
||||
|
How to do what?
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
|
#5
|
|||
|
|||
|
How to add a div on my home page with a class of "custom-slider" assigned to it
|
|
#6
|
||||
|
||||
|
You don't need another div. You need to use the class name that you assigned to the div you already added "custom-slider-widget-area"
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
|
#7
|
||||
|
||||
|
You've added it within the 300px responsive rule. I find it's less confusing for people if they just add all new rules above the responsive section and make sure to close the 300px responsive rule:
Code:
@media only screen and (max-width: 300px) {
.home-featured-1,
.home-featured-2,
.home-featured-3,
.home-featured-4 {
padding: 0 0 30px;
width: 100%;
}
}
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
|
#8
|
|||
|
|||
|
Wow, now I feel silly that it was that simple. Thank you.
And yes I changed my mind about wanting it on top. |
|
#9
|
||||
|
||||
|
You're welcome
__________________
John "Nicolas Flamel" Wright | SoZo's design | John Wright Photography New to Genesis? Check out Genesis Explained. "We are the music makers, and we are the dreamers of dreams..." - Arthur O'Shaughnessy "Some days even my lucky rocket ship underpants don't help" - Calvin StudioPress on Facebook |
| Thread Tools | |
| Display Modes | |
|
|
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us