How to start customizing CSS…

  • Author
    Posts
  • #1940743

    I want to customize my CSS but I don’t know how to start it – what code do I use to open up the stylesheet?

    I open the CSS tab and it tells me about how I can just add code and it’ll override the theme but whatever valid code I write doesn’t do anything because I presume I have to start the stylesheet with something but I don’t know what.

    I’m confused!

    I’m trying to add text to the white space under the header of the Chateau theme where an image would normally be (but I’ve hidden it). I viewed my page and looked on inspect element and figured out that the area I’m looking to write things in is <div id=”main-image”></div> so I tried doing a <p>text here</p> tag inside the <div> tags but nothing happened.

    What am I missing?

    It’s probably a really obvious answer and I’m being dumb but I just can’t work this out!

    The blog I need help with is thecharlotteem.wordpress.com.

    #1940801

    Sorry, that was REALLY dumb, I was trying to use HTML instead of CSS!

    Using CSS, I tried to do:

    #main-image {
    <p>text here</p>
    }

    but nothing happened.

    Argh I’m stuck.

    #1940845

    Figured it out. Sorry, getting used to CSS again after several years out of practice and I kept combining HTML and CSS by accident. Gah!
    And trying to fix the wrong element which is obviously unhelpful!

    #1940882

    Yay, glad you got it figured out, and I’m sure it won’t take too long for you to get your CSS chops back. If you have any questions or problems, please let us know.

The topic ‘How to start customizing CSS…’ is closed to new replies.