• jimmy9

    (@jimmy9)


    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • whooami

    (@whooami)

    you can use whatever you want.

    Root

    (@root)

    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.

    whooami

    (@whooami)

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

    Thread Starter jimmy9

    (@jimmy9)

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

    whooami

    (@whooami)

    you can use whatever you want.

    Root

    (@root)

    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.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

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

    Thread Starter jimmy9

    (@jimmy9)

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can I use Custom Names in StyleSheet’ is closed to new replies.