Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    Unfortunately, WordPress will strip out any HTML from the site title field in the admin, so we need to create some custom CSS…something like this:

    .site-title a:after {
        content: "L3C";
        vertical-align: super;
        font-size: 16px;
    }

    You may need to make some adjustments. Don’t do this in the theme’s style.css though, but if you are using a child theme, that won’t be a problem, otherwise you can use the Edit CSS if you use the plugin Jetpack, but if you’re not using that one, use Simple Custom CSS.

    Note: I’m assuming you want the L3C part as superscript, so you will need to remove that from the site title and then the custom CSS will add the L3C for you.

    Thread Starter endlessskyl3c

    (@endlessskyl3c)

    What I’m looking for is the L then superscript 3 and then C. When I add the above to the CSS, It doesn’t change anything. I’ve tried removing the 3 between the L and C in the site description and just putting the 3 into the above css but that doesn’t work either. The number 3 is the only thing I need as superscript.

    Also is the a plugin that will all me to edit the pages directly as they are loaded or do I have to go into the Dashboard to edit each page? My previous theme had an edit button on each page when I was logged into the site which made it a bit easier to edit.

    Theme Author Shaped Pixels

    (@shaped-pixels)

    If it’s the “3” that gets superscript, then that won’t work. The only other solution is to create an image of your site title with the 3 as superscript and then use it as a logo only.

    Regarding your edit button, Longevity has that, but to enable it, go to Appearance >> Customize >> Blog Options, and look for the checkbox next to Show Edit Link. Check the box to show it or uncheck to hide it. This is actually part of WordPress, except I added some code to show or hide it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding Superscript to Site Title Logo’ is closed to new replies.