- This topic has 11 replies, 3 voices, and was last updated 3 years, 9 months ago by
Tom.
-
AuthorPosts
-
April 20, 2019 at 7:01 am #874292
scott doel
Hi I have installed locally the Split site template, and followed the tutorial to https://generatepress.com/forums/topic/site-title-two-colours-and-bold/
I have modified the code to
<div class="site-branding"> <h1 itemprop="headline" class="main-title"><a rel="home" title="SCOTT DOEL" href="Your homepage URL"><span style= font-family:verdana"><strong>SCOTT</strong></span> <span style="color:#FABF19;">DOEL</span></h1> <p class="site-description">Your tagline if needed</p> </div>
But both words are bold, I just want the first word the second in colour but not bold
April 20, 2019 at 10:26 am #874431Leo
StaffCustomer SupportHi there,
The post you linked cannot be found so I’m not sure what you followed.
What if you do something like this?
<div class="site-branding"> <h1 itemprop="headline" class="main-title"><a rel="home" title="SCOTT DOEL" href="Your homepage URL"><span style="font-family:verdana; font-weight:700;">SCOTT</span> <span style="color:#FABF19; font-weight: 300;">DOEL</span></h1> <p class="site-description">Your tagline if needed</p> </div>
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/April 20, 2019 at 10:33 am #874434scott doel
Thanks Leo didnt try that, but I added a 400 font weight to the second element and that worked a treat
April 20, 2019 at 10:47 am #874444Leo
StaffCustomer SupportNo problem 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 6, 2019 at 5:37 am #921481scott doel
Sorry to add to this post, but I need a slight change
The above works perfectly but if I select the sticky menu option, the menu stays but the logo is no longer there
June 6, 2019 at 8:48 am #921794Leo
StaffCustomer SupportAny chance you can link us to the site in question?
You can edit the original topic and use the private URL field.
Let me know 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 6, 2019 at 8:51 am #921796scott doel
The site is on a staging here
June 6, 2019 at 9:02 am #921802Leo
StaffCustomer SupportCan you take a look at this post and see if it helps?
https://generatepress.com/forums/topic/sticky-menu-split-navigation-not-using-a-logo-site-title-disappears-on-scroll/Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 6, 2019 at 11:24 pm #922301scott doel
That post with the CSS works and shows the site title.
If I upload a logo, the only way to get it to show is to show the site title (I’ve left that option on) so you can see it. The image is also ‘squashed’ over the site title
Is there any way I can use the same text-based Logo? I’ve looked for a hook in elements and in the online document and nothing there I can find that is suitable
June 7, 2019 at 8:30 am #922757Tom
Lead DeveloperLead DeveloperWhat if you:
1. Disable your site title.
2. Go into Customize > Additional CSS and remove this CSS:.site-branding, .site-logo { position: absolute; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); z-index: 200; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 7, 2019 at 9:39 am #922807scott doel
Perfect Tom, thank you
June 7, 2019 at 3:05 pm #922987Tom
Lead DeveloperLead DeveloperYou’re welcome 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.