Staff superscript
URL to the page in question:
www.scarstock.com
-
Hi Bill,
In the staff section, I am trying to add the trademark ‘TM’ as a superscript. I am familiar with the <sup> html tag, but that doesn’t seem to get the job done here. I would like it to show up in the copy on the home page as well as the individual staff page.
Thanks,
Blake
Hello Blake,
Let’s give this a try and see if it won’t move things into position for you:
- Go to the Theme Options page and select the Styling tab.
- Scroll down to the Custom CSS box and paste this:
sup h7 {
position: relative;
top: -5px;
}
- Update your settings.
Let me know if that doesn't do the trick.
Thanks,
Bill
Hey Bill,
I can’t seem to get this to work.
Blake
Hey Blake,
It looks like the superscript code got a bit changed. It’s showing up this way for me now:
<sup h7>TM</sup h7>
Try swapping it back to:
<sup><h7>TM</h7></sup>
and see if won’t stick that way for you. Let me know if it doesn’t.
Great. I added a font size to it to make it smaller and it works for the individual page, but not on the Home page. What can I do about that?
Fantastic about the inside page. The widget uses a script that limits the amount of text shown. It also strips out HTML tags. You can change that if you want to. Here’s how:
- Go to the Appearance section in your WordPress control panel and select Edit.
- From the list of files on your right, choose staff-group-item.php
- Find this line:
<?php the_content_limit(400, "Read More"); ?>
and replace it with this:
<?php the_content(); ?>
- Save your changes.
That will show the full content instead of just a portion. It’ll also preserve all the HTML too.
See how that works for you,
Bill
Awesome! That got it. Thank you.
- The topic ‘Staff superscript’ is closed to new replies.