WordPress.org

Support

Support » Plugins and Hacks » Does my-hacks.php worth with styles?

Does my-hacks.php worth with styles?

  • 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) ?

Viewing 1 replies (of 1 total)
  • Sushubh
    Participant

    @sushubh

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

Viewing 1 replies (of 1 total)
  • The topic ‘Does my-hacks.php worth with styles?’ is closed to new replies.