- This topic has 9 replies, 2 voices, and was last updated 4 years, 5 months ago by Skandha.
-
AuthorPosts
-
November 7, 2019 at 11:36 pm #225187abisbeeParticipant
Hi.
How do I format the sub-heading on https://wellnesswarriorsboston.org/? I tried the following CSS, but it also changes the entry-summary for the Featured Content widgets. I just want to change the sub-heading. I think I am using the wrong element, but I’m not sure what would be correct.
#featured-content p {
font-size: 34px;
}What am I doing wrong?
Also, is there any way to insert a link into the heading? I don’t think so, but I thought I’d ask. 🙂
Thank you.
AliceNovember 8, 2019 at 1:41 am #225190SkandhaParticipant@abisbee: Hello Alice,
Please use the following CSS Code instead.#featured-content .featured-heading-wrap p { font-size: 34px; }
Let me know if this works out!
Kind Regards,
SkandhaNovember 8, 2019 at 12:24 pm #225255abisbeeParticipantIt works beautifully, of course. Thank you, Skandha!
Two more questions, please:
1. How can I vertically align the promotion headline and remove the space underneath? I’ve disabled it on the website because it doesn’t look good. Both text and button are aligned at the top with a lot of space between those and the Featured Content header.
2. Is it possible to use an image for the promotion headline button?
Alice
November 11, 2019 at 12:49 am #225495SkandhaParticipant@abisbee: Hello Alice,
1. Please enable Promotion Headline section so that I can provide you a solution.
2. Can you let me know what kind of image you would like to have as a Promotion Headline button.
Kind Regards,
SkandhaNovember 11, 2019 at 5:29 pm #225585abisbeeParticipantHi Skandha,
1. Enabled.
2. A jpg of a logo. If not possible, we will use what is there, but an image might be nice.Thanks.
AliceNovember 11, 2019 at 11:37 pm #225623SkandhaParticipant@abisbee: Hello Alice,
Go to => Appearance => Customize => Additional CSS and add the following CSS Code./* To vertically align promotion headline content */ #promotion-message .right { max-width:unset !important; } #promotion-message .right .promotion-button { margin-top: 0; } /* To have an image in the button */ #promotion-message .right .promotion-button { background-image: url(''); background-color: unset; }
You will need to add the image url in between
url('')
. I am not sure if the image will show up well.
Let me know if this works out!
Kind Regards,
SkandhaNovember 11, 2019 at 11:50 pm #225628abisbeeParticipantThe alignment works perfectly, Skandha!
The image is problematic – I need to play with the image size – but it should work eventually. Thank you for your help!
Alice
November 12, 2019 at 1:14 am #225638SkandhaParticipant@abisbee: Glad I was able to help you out. Have a good day! 🙂
Kind Regards,
SkandhaNovember 23, 2019 at 8:38 pm #227145abisbeeParticipantHi Skandha,
Would it be possible to center the text in the promotional message? I have a feeling that it won’t look good, because I will be centering within .left, but I’d like to try.
Thanks.
AliceNovember 25, 2019 at 1:26 am #227253 -
AuthorPosts
- The topic ‘format sub-heading for featured content’ is closed to new replies.