Home>Support>Using inline code in posts with the code tag

Using inline code in posts with the code tag

By gailanderson, 9 years ago. Last reply by Magus, 9 years ago.

Hi,
I have quite a few posts that display code inline using the normal . . . tags. I have also installed the Syntax Highlighter Evolved plugin for blocks of code. This works fine in the default theme. When I activate the Vantage Premium theme, however, the inline code is extracted to its own block. I’ve tried to over-ride this by writing my own CSS for code, but it doesn’t work.

(See below URL for the word “Person” and others.)

I really like this theme, but I really, really don’t want to back-edit my posts to get this to work!

Can you suggest a work around?

Thanks in advance.

URL: http://asgteach.com/asgteach_wp_dev/finding-getters-and-setters-with-java-reflection/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 4 months ago gailanderson

    Edit: That should read \ . . . \ tags.

  2. 9 years, 4 months ago gailanderson

    Hi All,

    I just found the question answered by another and the CSS seems to work great! Thank you.

    code {
        display: inline !important;
        padding: 0px !important;
    }
    
  3. 9 years, 4 months ago Magus
    Hi, I Work Here

    Hi Gailanderson

    Good to hear that you found a solution. If you need any more help please feel free to open a new support thread.

    Magus

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More