Help styling h2 in only one module

More
9 years 7 months ago #40874 by lizakrause
I should know how to do this but my brain is not working right now.

I would like to change the padding amount on the h2 text ONLY in the Hot Carousel module - not throughout the site.

Can you please help?

Please Log in to join the conversation.

More
9 years 7 months ago #40879 by ivan.milic
Best send link to page where you have it so we can see, (btw. there are two carousel types in academy template)

Please Log in to join the conversation.

More
9 years 7 months ago #40899 by lizakrause
Thank you for your reply. I have attached an image so it is clearer.

I am using Hot Full Carousel for my home page slideshow.

I *was* able to change the padding and alignment of the header (as shown) by adding this:

.hero-carousel article .contents h2 {
margin: 0;
padding: 0 0 2px;
text-align: center;
}

to the file templatecss.css

Could you tell me how to center the body text ("we can't wait to see you in September") in the photo shown?

Thank you!
Attachments:

Please Log in to join the conversation.

More
9 years 7 months ago #40903 by ivan.milic
send link so we have source to look at

Please Log in to join the conversation.

More
9 years 7 months ago - 9 years 7 months ago #40904 by lizakrause
page is at ascbaycity.org

Also, while there, can you look at and tell me how to CENTER the random image that is used on the interior pages (sample page here)

Thank you!
Last edit: 9 years 7 months ago by lizakrause.

Please Log in to join the conversation.

More
9 years 7 months ago #40906 by ivan.milic
Add this to template_css.css:

.hero-carousel article .contents * {
text-align: center;
}
The following user(s) said Thank You: lizakrause

Please Log in to join the conversation.

Time to create page: 0.143 seconds
Powered by Kunena Forum