Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
dimkostakis
tagDiv Member

I managed to figure that also out 😛 with Javascript
The code i used just in case anyone else need it

$( document ).ready(function() {
$(“.td-big-grid-meta > a”).each(function() {

cat = $(this).text();
if(cat == “categoryName”){
$(this).addClass(“customClass”);
}else if(cat == “categoryName2”){
$(this).addClass(“customClass2”);
}else if(cat == “categoryName3”){
$(this).addClass(“customClass3”);
}else{
$(this).addClass(“customClass4”);
}
});

});

dimkostakis
tagDiv Member

Yes i know that and i am familiar with wordpress and PHP development. All i want to know if you can answer that is if you can tell me which function calls the category and from where it gets the color of that category. Then i will do it with custom code

Thnaks for the help

dimkostakis
tagDiv Member

I finally managed to do it! No need to search the code i used is the following in case anyone else wants the same

.menu-item-30916 > a:hover {
color:#3498db !important;
border-bottom:2px solid #3498db;
}

Also i want to make another questrion regarding the grid layout.
I have put in the theme options > bloc settings > category tags on module to show the category tag on td_big_grid_1,2,3 and i want to know if it is possible that tag to have the category color and not a global color

Again check the site i mentioned above to see what i want Thank you

dimkostakis
tagDiv Member

Hi and thank for the reply but what i want is to change the color of the blue line under each category to the color of that category that i have set or to a color that i want. Also i want to change the color of the category name in your case Lifestyle i want it to be green on hover both the text and the line under it. Thank you

The result i want is like the one in this site :

http://www.touristikosodigos.com

Viewing 4 posts - 1 through 4 (of 4 total)