Jump to content

Archived

This topic is now archived and is closed to further replies.

kellyc214

News Views

Recommended Posts

kellyc214

I can't seem to change the color of the blocks, particularly the button color. It keeps defaulting to blue. I have only used red and grey on my site so the blue is quite jarring. Thanks for your help!  Kelly

Share this post


Link to post
Share on other sites
batman

Hi kellyc214

Please, you can try with

 

.kp-list-item

{
background-color: red;

}
 
.kp-list-item.active {
background-color: green
}

Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
Gavin_

Hi Kelly, 

 

I have found the issue here. 
You are using more than one installation of News Views on the same page - this is causing a conflict and hence the default color settings are showing. 
We will work on a fix to see if its possible to change. 

In the meantime the best thing to do is to edit the Plugins file via an FTP or cPanel and using a TextEdit tool. 
 

There is only one line that you need to edit, as the list color is generated by LESS from the button color. 

You will need to edit the section.php file - line 68 (approx) currently it reads: 

$bt_color = pl_hashify($this->opt('button_color', array('default' => '#14739E')));

And you need to change that to:

$bt_color = pl_hashify($this->opt('button_color', array('default' => '#CC0F33')));

Only the color is being changed. 

Let us know if this works for you. 

Share this post


Link to post
Share on other sites
kellyc214

Hi Gavin,

 

I am happy to delete the content on that page and start fresh. Yesterday, we spoke of my inability to remove the "old" News Views plugin. Your team helped remove the old plugin and activiate a new plugin. I would rather resolve that issue rather than resort to code as I am not that advanced and may want to adjust the color in the future.

 

You have my wordpress and website information and you are welcome to access my account again to assist in resolving the issue.

 

Thank you for your help,

 

Kelly

Share this post


Link to post
Share on other sites
Gavin_

Hi Kelly, 

If you only have one install of News Views section on the page all the News Views settings will work as expected. This would be your easiest solution - then you can choose to display 'category' and readers will know what post type it is. To do this simply delete the multiple News Views sections on the page by hovering your mouse over the section then clicking delete in the top right hand corner - as shown here http://screencast.com/t/dlKMNiFeAfXuOnce you only have one section on the page your button color will display.  I would also recommend in the News Views settings you choose to display category. 

However, If you would like to have more than one install of the section on the page there is no choice other than to edit the section.php file as suggested. Its really not as scary as it sounds - and in the future you would only need to edit the same line again. In fact you may even feel quite empowered once you open the file and edit the line ;) 

This is not something we can do via the Wordpress dashboard it needs to be done FTP or cPanel. 

Thanks, Gavin

 

Share this post


Link to post
Share on other sites

×