WordPress.org

Ready to get started?Download WordPress

Forums

Code is showing in Blog (6 posts)

  1. knssconsulting
    Member
    Posted 1 year ago #

    Hi Everyone,

    I am helping out a friend with some blog posting but I noticed the HTML code was showing underneath the comments. here is an example

    http://www.gofitnessnation.com/why-you-need-coaching-at-the-nation/

    Can someone help me to hide the code so it's not visible?

    Thank you,

    Brandon

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    try to add this to style.css of the theme:

    .form-allowed-tags { display: none; }

  3. knssconsulting
    Member
    Posted 1 year ago #

    Hi Alchymyth,

    I tried that and it didn't work.

    I left the code there to show you it's at the bottom.

  4. I'm looking at your CSS here - http://www.gofitnessnation.com/wp-content/themes/fitness_nation/css/style.css
    and can't see the code that @alchymyth suggested.

  5. knssconsulting
    Member
    Posted 1 year ago #

    Hi Christine,

    in WordPress under editor I went to the style.css and at the bottom saved

    }
    #entry-author-info {
    border: 1px solid #e7e7e7;
    }
    #main {
    display: inline;
    }
    .home .sticky {
    border: none;
    }
    .form-allowed-tags {
    display: none;
    }

    }

    Was that not correct?

  6. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    your theme actually does not load the style.css, but uses a stylesheet in a sub folder - /css/style.css - which you can't edit with the appearance - editor;

    either edit that css file using ftp, or use one of the custom css plugins to add the new css.

Topic Closed

This topic has been closed to new replies.

About this Topic