bgcolor code doesn't work

  • Author
    Posts
  • #3359
    Paul

    Hey guys,

    I’m rebuilding our website, using the fantastic Mantra theme, but i have an issue with that. On one page i use a table in which the header is colored with the bgcolor=”#808080″ command. In the WordPress Page editor the color is shown, but on he actual page the header of the table has the page background color. How to fix this?

    #3390
    Zed
    Cryout Creations mastermind

    Inline styling is most likely replaced with theme styling.
    Add a class to your table, use thead and use custom CSS to style the table.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #3411
    Paul

    Thanks for your reply, but could you please be a little bit more specific, or do you have any examples. i.e how to ‘…add a class to your table’ . And what is ‘thead’? And do you mean using the custom CSS in de Misc options of Mantra? Because i’m not a web dev with css knowledge (that’s why i use WordPress and Mantra ;-))

    #3440
    Zed
    Cryout Creations mastermind

    If you want to do more than the “default”, you’ll have to learn CSS… and HTML too 🙂

    W3C has information for anything concerning HTML and CSS – see thead and class.

    And yes, I mean the custom CSS field under Miscellaneous in Mantra Settings, the place where you can type in all your custom CSS so you don’t have to change any theme files.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘bgcolor code doesn't work’ is closed to new replies.