CSS. PHP

Another Tip! Quickie: Executing CSS in custom_functions.php

calendar December 27, 2009   |   author Author: Mike Nichols
category Posted in New Articles   |   comments1 Comment

by Mike Nichols on December 27, 2009 · 1 comment

Sometimes we need to execute CSS within the PHP of our custom_functions.php file. This article shows you how to use the “style” statement to do so! “Quickie: Executing CSS in custom_functions.php” is a clear and concise article on how to use the same CSS statements as you use in the custom.css file within your custom_functions.php […]

{ 1 comment }

Quickie: Executing CSS in custom_functions.php

calendar December 27, 2009   |   author Author: Mike Nichols
category Posted in   |   comments2 Comments

by Mike Nichols on December 27, 2009 · 2 comments

Sometimes we need to execute CSS code within the PHP in our custom_functions.php file. It’s a simple trick! You use the style statement to wrap your CSS in. Here’s an example for you: function use_style_statement() {?> <style type="text/css"> .custom #some_id { background: #000000; } .custom .some_class { position: relative; } </style><?php } Note these things: […]

{ 2 comments }