Edit HTML code for the Site Title?
-
Is there any way to edit HTML code for the Site Title (to make fine-scale changes to font)?
-
Could you tell us more specifics around the following:
1. Which site are you working on specifically?
2. What kinds of changes are you wanting to make specifically to the font that’s currently selected for the Site Title on that site?
When it comes to built-in font types and adjustments that can be made, we recommend referring to this guide: https://wordpress.com/support/custom-fonts/
-
The site is still private, but here’s what I’m trying to do. As an analogy, we could say the Site Title is “eSolutions”, and wherever the word “eSolutions” appears throughout the site, we want the “e” to be in a stylized font — segoe script — while “Solutions” is in whatever standard script our wordpress theme uses. I’ve edited the HTML code throughout the site like this: <font size=”4″ face=”segoe script”>e</font>Solutions. But there doesn’t appear to be a way to do this to the Site Title, since this is just entered under Settings without a way to edit the HTML code. But maybe there’s a way around this that I’m not seeing.
-
You won’t be able to edit the HTML, but if the change you want can’t be made via the custom font controls https://wordpress.com/support/custom-fonts/ it can definitely be made via CSS https://wordpress.com/support/custom-design/custom-css/
-
Great to know! Any hints on the CSS code to accomplish this: change font of a single letter within the Site Title? In the example above, that would be the “e” in “eSolutions”.
-
-
That’s kind of what I thought. Thanks for confirming. And as best I can tell, it can’t be done with HTML either. Although it almost doesn’t seem possible that the most important piece of text on the website — the Site Title — would be the one piece of text you don’t have much control over.
-
Technically it can be modified via HTML, but you’d need to be able to modify the theme files directly.
That means that either you would need to be a on a paid Business or eCommerce plan here, or you would need to use the self-hosted version of WordPress from WordPress.org instead.
To clear up any confusion, WordPress.com and WordPress.org are two different entities: https://wordpress.com/support/com-vs-org/
WordPress.org has complete documentation for self-hosted/installed versions of WordPress.org at https://wordpress.org/support/ and support at https://wordpress.org/support/forums/
-
Okay. I have a paid Business plan for a different site, and the site I’m working on now will most likely be upgraded once it’s complete. I could try to walk through this process on the paid Business plan site, to see if I can get it to work. Can you tell me how to modify the theme files directly?
-
You’ll need to set up SFTP access first: https://wordpress.com/support/sftp/
Once in, you’ll be able to modify the theme files.
-
- The topic ‘Edit HTML code for the Site Title?’ is closed to new replies.