Staff superscript

Support Area Forums Moonrise Staff superscript

Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
URL to the page in question: www.scarstock.com
  • Author
    Posts
  • #17901
    Blake Haas
    Participant

    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

    #17907
    Bill Robbins
    Moderator

    Hello Blake,

    Let’s give this a try and see if it won’t move things into position for you:

    1. Go to the Theme Options page and select the Styling tab.
    2. Scroll down to the Custom CSS box and paste this:
      
      sup h7 {
      	position: relative;
      	top: -5px;
      }
      
    3. Update your settings.

    Let me know if that doesn't do the trick.

    Thanks,
    Bill

    #17914
    Blake Haas
    Participant

    Hey Bill,

    I can’t seem to get this to work.

    Blake

    #17916
    Bill Robbins
    Moderator

    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.

    #17919
    Blake Haas
    Participant

    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?

    #17920
    Bill Robbins
    Moderator

    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:

    1. Go to the Appearance section in your WordPress control panel and select Edit.
    2. From the list of files on your right, choose staff-group-item.php
    3. Find this line:
      
      <?php the_content_limit(400, "Read More"); ?>
      

      and replace it with this:

      
      <?php the_content(); ?>
      
    4. 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

    #17922
    Blake Haas
    Participant

    Awesome! That got it. Thank you.

    #17923
    Bill Robbins
    Moderator

    Anytime Blake.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Staff superscript’ is closed to new replies.