Forums

Can I use Custom Names in StyleSheet (9 posts)

  1. jimmy9
    Member
    Posted 5 years ago #

    Hi,

    I'm trying to develop wordpress theme and just want to know in context of style.css :

    1) Is it mandatory to use same stylesheet (style.css) names (#headerimg, .widecolumn etc...) in my own theme which wordpress uses in it's stylesheet of default theme (style.css) ? By the way I personally saw in few other themes (created by others) they have used some names same like of default theme stylesheet and rest of their own.

    If I use my own names then will wordpress list my theme or not ?

    Thanks in advance
    Jimmy

  2. whooami
    Member
    Posted 5 years ago #

    you can use whatever you want.

  3. Root
    Member
    Posted 5 years ago #

    Well you can. BUT: The names in the CSS need to match the names used in the html. You need to edit the templates to match.

  4. whooami
    Member
    Posted 5 years ago #

    I figured that was a no-brainer :P I shouldnt assume that, God knows.

  5. jimmy9
    Member
    Posted 5 years ago #

    Thank you, but if I use my own names is CSS, will wordpress accept it for Template Listing

  6. whooami
    Member
    Posted 5 years ago #

    you can use whatever you want.

  7. Root
    Member
    Posted 5 years ago #

    For the purposes of what you call *listing* you just need to make sure that the meta info at the head of the CSS is complete.

  8. Otto
    Tech Ninja
    Posted 5 years ago #

    You should probably start here:
    http://codex.wordpress.org/Theme_Development

  9. jimmy9
    Member
    Posted 5 years ago #

    So much thanks all of you. You all are very nice.

    After crating a new theme, is their any particular section in wordpress website where someone can submit the new themes.

Topic Closed

This topic has been closed to new replies.

About this Topic