Tag Archives: css

WordPress Theme Dev Tip – Dynamic Stylesheets

A dynamic stylesheet using php is a powerful thing, when accompanied by a user options page it can really make a theme. I’ve recently done this to my Techozoic theme, and I’m going to share how this works and some time saving tips. Continue reading

Posted in tips, wordpress | Tagged , , | 6 Comments

Dynamic Stylesheets using PHP

Recently while doing some work on my theme for WordPress I came across a very helpful idea. Using PHP in a stylesheet to make it more dynamic. The basic idea is to use PHP variables and define certain elements that repeat in various places such as a color code to make it easily changeable by only having to change one line instead of searching for and replacing multiple times. Other examples are fonts, images, widths, even whole sections of code could be shown or hidden with the use of variables and an if statement. Continue reading

Posted in Internet, tips | Tagged , , , | 7 Comments

Making Header Image Clickable Link

Sometimes a text header link just doesn’t cut it. Making a image a clickable header link is very simple. Code examples provided. Continue reading

Posted in tips | Tagged , , , | 16 Comments

CSS Tip: Image Rollover effect

Using just a special image and some CSS it’s possible to create very nice rollover effects, without and Javascript. Continue reading

Posted in tips | Tagged , , , , | 3 Comments