Tagged: Color, Promotion Headline
- This topic has 8 replies, 2 voices, and was last updated 7 years, 7 months ago by
techfinderr.
-
AuthorPosts
-
April 18, 2016 at 7:16 pm #89835
techfinderr
ParticipantHi,
Site: techfinderr.com
Can adjust the margin closer between the text and button? My headline text is shorter and its align left.
What I mean is, adjust the title and subtitle to center? At least it’s closer with button. And able to change the color of the promotion headline bar?
Thanks ahead of time for any replies.
April 19, 2016 at 10:31 am #89884Mahesh
Keymaster@techfinderr: Go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS box and add the following CSS:
@media screen and (min-width: 481px) { #homepage-message .left-section { text-align: center; width: 80%; } }
By changing color, do you mean to change the background color of Promotion Headline Bar? If yes, add the following CSS:
#homepage-message { background-color: #00cc99; border-bottom: 1px solid #00cc99; border-top: 1px solid #00cc99; }
Note: You have an error in you Custom CSS. You are missing a closing curly brace at the end. Put an ending curly brace and then only add the above CSS or it won’t work properly.
Regards,
MaheshApril 19, 2016 at 2:58 pm #89909techfinderr
ParticipantIt’s work! And thanks again.
One more question, is there possible to change the button color?
Button border and text color may remain the same (white color).Regards
April 19, 2016 at 5:45 pm #89921Mahesh
Keymaster@techfinderr: For that use the following CSS:
#homepage-message .right-section a, #homepage-message .right-section a:hover { background-color: #00CC99; }
Regards,
MaheshApril 21, 2016 at 11:52 am #90057techfinderr
Participant
@media screen and (min-width: 481px) {
#homepage-message .left-section {
text-align: center;
width: 80%;
}
}The CSS code above hasn’t resolve.
I’d copied the code you provided into the Custom CSS. It’s just move the title to the center only, but it’s all still align left and seems there’s looks a lot empty space in the middle between the title,subtitle and button.
Is that possible to make the title/subtitle and button to center in promotion headline bar? So that it will not see the space between Title/Subtitle and Button.
Thanks ahead of time for your replies.
Regards
April 21, 2016 at 12:40 pm #90062Mahesh
Keymastertechfinderr: Please replace the code I’ve given:
@media screen and (min-width: 481px) { #homepage-message .left-section { text-align: center; width: 80%; } }
with the following:
#homepage-message .left-section { float: none; margin-bottom: 15px; text-align: center; width: 100%; } #homepage-message .right-section { float: none; width: 178px; margin: 0 auto }
Hope this helps.
Regards,
MaheshApril 21, 2016 at 2:06 pm #90067techfinderr
ParticipantPlease check the site: techfinderr.com
Can Adjust the button same row with the Title/Subtitle like before instead of at the bottom of subtitle?
Also, can adjust the Title’s margin same with Subtitle’s margin? I mean is, the body text (Title & Subtitle) is in the same margin at the beginning.
Sorry that i made you misunderstand.
Thank you.
April 21, 2016 at 3:42 pm #90071Mahesh
Keymaster@techfinderr: For that add the following CSS, hope this works:
@media screen and (min-width: 981px) { #homepage-message .left-section { margin-left: 15%; } #homepage-message .right-section { margin-right: 15%; } }
Note: Please remove the previous CSS first.
Regards,
MaheshApril 21, 2016 at 4:35 pm #90078techfinderr
ParticipantFinally it’s Work! TQVM and appreciate it
-
AuthorPosts
- The topic ‘Adjust the promotion headline bar’ is closed to new replies.