WordPress.org

Support

Support » Themes and Templates » Formatting isn't working when publishing (bold & italics)

Formatting isn't working when publishing (bold & italics)

  • andantesash
    Participant

    @andantesash

    Hi Guys,

    I have always had a problem with my custom design page, the fault being that whenever I edit a page or post, I make text bold or italics or underline and it then i click publish and the it just goes to normal, plus it doesn’t change it to the new formatting on the page if I click refresh.

    Can someone suggest anything, here is the the link http://www.trystsportsclub.com

    Thanks to anyone who can help me.

Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi
    Forum Moderator

    @esmi

    Try using Firefox with the Firebug add-on for this kind of CSS troubleshooting. Or use whatever developer tool is available in your web browser.

    andantesash
    Participant

    @andantesash

    what does the add-on do?

    esmi
    Forum Moderator

    @esmi

    Please see the page at the link I posted above.

    andantesash
    Participant

    @andantesash

    Hi,

    I tried using firebug, but I think the problem is with the <strong> tag in the css as I click on what I have made in bold on firebug and it shows <strong> tag on the page, but it isn’t display the font as being bold – does anyone know how to fix this?

    [Moderator Note: Please post markup between backticks or use the code button.]

    WPShowCase
    Member

    @wpshowcase

    Here’s some CSS that would make the strong tag appear bold:

    strong {
      font-weight:bold !important;
    }

    Does that work for the strong tags on your site?

    andantesash
    Participant

    @andantesash

    Yeh that worked!!!! thanks so much!
    What would I add in to make the italics work aswell?

    WPShowCase
    Member

    @wpshowcase

    I’m glad it worked. Here’s the italics:

    em {
      font-style:italic !important;
    }
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Formatting isn't working when publishing (bold & italics)’ is closed to new replies.