Re: User 5-8 Question – Adding Ribbons

Hot WordPress Themes Support Forum WordPress Themes Destinations User 5-8 Question – Adding Ribbons Re: User 5-8 Question – Adding Ribbons

#974
milos
Moderator

Hi,

There was a bug. Please edit file /wp-content/themes/wp_hot_destinations/js/theme.js and change line

Code:
jQuery(‘#c5, #c6, #c7, #c8’).each(function(ind){

to

Code:
jQuery(‘#c1, #c2, #c3, #c4, #c5, #c6, #c7, #c8’).each(function(ind){

When you edit widgets in positions User5-8, you can edit Widget suffix parameter. So, if you change _orange to _somethingelse you would be able to have additional ribbons.

You should create and upload ribbon images to /wp-content/themes/wp_hot_destinations/images (name it as ribbon_somethingelse.png, etc…)

Also, you should edit CSS file /wp-content/themes/wp_hot_destinations/css/template_css.css and change this part:

Code:
div.widget_orange h3 {
color:#fe6f00;
}

div.widget_grey h3 {
color:#4a4a4a;
}

div.widget_blue h3 {
color:#3ab7e9;
}

div.widget_green h3 {
color:#8fc400;
}

div.widget p, div.widget_orange p, div.widget_grey p, div.widget_blue p, div.widget_green p {
padding:0;
margin:4px 0;
}

to add your new kind of ribbon:

Code:
div.widget_orange h3 {
color:#fe6f00;
}

div.widget_grey h3 {
color:#4a4a4a;
}

div.widget_blue h3 {
color:#3ab7e9;
}

div.widget_green h3 {
color:#8fc400;
}

div.widget_somethingelse h3 {
color:#000000;
}

div.widget p, div.widget_orange p, div.widget_grey p, div.widget_blue p, div.widget_green p, div.widget_somethingelse p {
padding:0;
margin:4px 0;
}