WordPress.org

Ready to get started?Download WordPress

Forums

Does my-hacks.php worth with styles? (2 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    I added the following mod to my default stylesheet, so as to allow centering of photos:
    div.cent {
    text.align: center;
    }
    But now I want to offer viewers a style switcher option, with a choice of a number of styles. Do I need to copy the above text into every single stylesheet, or can I somehow incorporate this into my-hacks.php (or even another location) ?

  2. OperaManiac
    Member
    Posted 10 years ago #

    make an independent stylesheet for the common styles
    and link it into index.php
    css is cascading :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.