Community Forums › Forums › Archived Forums › General Discussion › Can I have a logo AND text based site title with tagline? Magazine Pro theme
Tagged: Logo, site description, site title, site-header
- This topic has 2 replies, 2 voices, and was last updated 8 years, 1 month ago by copious.
-
AuthorPosts
-
March 8, 2016 at 12:29 pm #180924copiousParticipant
It's been a while since I've worked on any WordPress sites, so forgive me if this is a simple question, but I cannot see anything obvious to make this work. I'm resurrecting an old WordPress site that had an ancient Thesis 1.8 theme. I did all of the WordPress updates and just installed the Genesis Framework and the Magazine Pro child theme. By default, the theme would normally display a text based site title, but no tagline. Following the setup instructions, I found a nice easy way to upload a custom logo. But, it seems that the only choice I have is EITHER a custom logo OR a text based site title with no tagline, but not all of them. There must be a way to have all three of those... a quick Google search and search on this forum did not yield any helpful results. There were some topics that were similar, and for other themes, but not for this specific situation.
For now, I found a temporary workaround by using the right header widget with a text box, but I would prefer the more stylized font that the Magazine Pro theme uses for the text based title, and it may help for SEO purposes to have the title and tagline show up that was, as opposed to a text box, but I'm not sure.
Thank you in advance for any help or suggestions!
Occasional WordPress designer, learning more with each website!
March 8, 2016 at 1:39 pm #180929Brad DaltonParticipantI can point you to a few options:
There's CSS in the style.css file which hides the title and description when an image is added which you may need to remove or modify.
Looks something like this:
.site-description { display: block; height: 0; margin-bottom: 0; text-indent: -9999px; } .header-image .site-title > a { background-size: contain !important; display: block; height: 76px; text-indent: -9999px; }
There's a paremeter for custom-header you can set to true if you want to display the title text however it will display over the image.
//* Add support for custom header add_theme_support( 'custom-header', array( 'flex-height' => true, 'width' => 360, 'height' => 76, 'header-selector' => '.site-title a', 'header-text' => true, ) );
You could try CSS to position it or you would need to add back the title & description using PHP code and position it using CSS.
Fair amount of work unless you can modify/add CSS only.
March 8, 2016 at 2:54 pm #180937copiousParticipantThanks! I found the CSS you mentioned and removed the
text-indent: -9999px;
It made the tagline appear centered, under the logo, and on two lines due to its length. It's not quite where I wanted it, so I added back that code. It's been a while since I did any coding, and I never was that proficient at it, so maybe I'll add this to my list of things to do, and may need to outsource it, so I don't mess things up. I was hoping it was easy, like adjusting some settings in the WordPress dashboard, or making a simple modification to the CSS, but there's a bit more to it than that.
For now, I'll make due with the text widget. The placement is good - right about where I want it anyways. The font style and size for the tagline is good - in fact it's the same as what the Magazine Pro theme used when made it display by removing the above text indent code. But I'd really like the title to be bigger and bolder, and if possible, in the same font as the demo theme has here: http://demo.studiopress.com/magazine/
If I could just change the font for the title in the text widget, I could live with that, but if it's changed in that spot, it will change on all of the titles in the sidebar too, from what I can tell.
Are there are any SEO benefits to doing it the other way, having the title display the regular with without a logo? Anyone know?
Thanks! 🙂
Occasional WordPress designer, learning more with each website!
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.