Community Forums › Forums › Archived Forums › General Discussion › Header Image and Tagline Text in Executive Pro Theme
Tagged: executive pro, header image, tagline
- This topic has 5 replies, 2 voices, and was last updated 11 years, 11 months ago by
Aryadne.
-
AuthorPosts
-
December 27, 2013 at 9:21 pm #81495
Aryadne
MemberIs there a way to include both the header image and the tagline text in the Executive Pro theme?
I think this is available with other themes but I can't find it in the Executive theme.
http://webnetcontractors.com/December 27, 2013 at 11:44 pm #81509nutsandbolts
MemberYou could reposition
.site-descriptionwith CSS to have it show under the image, but generally it's probably better (and easier) to add the tagline to the image itself.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+December 28, 2013 at 12:48 pm #81619Aryadne
MemberI was trying to use CSS. But even when I reposition it, it's not displaying. When I use Firebug to look at the code, I see the HTML for the tagline (
<p class="site-description" itemprop="description">We Build Websites with Solid Foundations</p>) and the box for it highlights on the screen but the text is not visible. I can't find any CSS that's preventing it from displaying.I want to use text rather than the image for SEO reasons.
December 28, 2013 at 12:49 pm #81620nutsandbolts
MemberRemove this from your functions.php:
//* Remove the site description remove_action( 'genesis_site_description', 'genesis_seo_site_description' );
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+December 28, 2013 at 1:07 pm #81623Aryadne
MemberI figured it out!!!
I did what you mentioned and it brought the code back but it still didn't display.
I finally found the CSS that was preventing it from displaying (sometimes it just takes a good night sleep to figure things out):
Under "/* Full width header, no widgets */"
CHANGE THIS
.header-image .site-description, .header-image .site-title a { display: block; text-indent: -9999px; }TO THIS
.header-image .site-title a { display: block; text-indent: -9999px; } .header-image .site-description { text-indent:: -9999px;} .site-description { display:inline;}Under "/* Logo, hide text */"
CHANGE THIS
.header-image .site-description, .header-image .site-title a { display: block; text-indent: -9999px; }TO THIS
.header-image .site-title a { display: block; text-indent: -9999px; } .header-image .site-description { text-indent:: -9999px;} .site-description { display:inline;}How I didn't see this before, I don't know.
Thanks for your help!
December 28, 2013 at 1:30 pm #81629Aryadne
MemberActually, it's best to use
inline-blockinstead ofinlineso that the element forces the main content down. -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.