css to php?

by 4 replies
5
How easy is to take something that suppose to go into the css part of wordpress but I need it to go into another php file??

Also who knows about customizating Revolution Themes?

I am wanting to put this code
.sidebar_list li.widget_categories ul li a:link,
.sidebar_list li.widget_categories ul li a:visited {
color:#636363;
}
.sidebar_list li.widget_categories ul li a:hover{

In the sidebar_homepage.php file..
#website design #css #php
  • I customize Rev Themes all the time.

    Question... the code above is CSS. Why would you want to put it into the sidebar file? Why not just include it in your main CSS file and create a div class for it?
    • [1] reply

    • After I posted this question I sort of figured out that I could create another div class, and then put that css in.. I have done that.. But I am not sure if it is working..

      Can you help please?
  • go CSS & php!
    • [1] reply

    • Orlando

      Do you know how to display the categories out of the sidebar but exactly the same as if it was in a sidebar widget area?

Next Topics on Trending Feed

  • 5

    How easy is to take something that suppose to go into the css part of wordpress but I need it to go into another php file?? Also who knows about customizating Revolution Themes?