Tagged: x
-
AuthorPosts
-
May 5, 2016 at 11:33 am #914522
BradleyBParticipantHi,
I have a custom headline with a custom icon. I am using the following code for my custom icon:
.h-feature-headline .x-icon-film:before { content: url(image.png); }However, the icon is not centered with the text, and needs a larger right margin. I have been unable to style the headline itself without also styling the icon. How can I target only the text in order to center it with the icon and give it more space between the icon? Thanks so much!
May 5, 2016 at 11:34 am #914523
BradleyBParticipantThis reply has been marked as private.May 5, 2016 at 5:35 pm #974848
RahulModeratorHi,
Please add the following custom css :
.x-brand img { padding-top:12px; }Thanks
May 6, 2016 at 12:10 pm #978823
BradleyBParticipantThanks for your reply. I think there has been a misunderstanding, though.
I am not referring to the logo in the header. The issue I am having is the the custom headline “connected mind and body = healthy.” As you can see, the text is not centered with the icon, and there is not enough space between them. Does this make sense? Thanks
May 6, 2016 at 6:42 pm #979471
DarshanaModeratorHi there,
I see that you’re using the following custom CSS with icon image.
.h-feature-headline .x-icon-film::before { content: url("http://treehouserecovery.com/wp-content/uploads/2016/05/chemical-icon.png"); }Please resize your icon to the same of the other icons OR else assign a special class to that featured headline and use the following CSS.
.my-special-class-name span { padding-left: 45px; }Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-914522 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
