How to Change the button Color

Posted in: Newspaper
Post count: 51

Hi there guys,

I’d tried changing the color of the button (of short codes), but that didn’t work anytime.
See it at the bottom of this post http://www.clearawayacne.com/products/acne-no-more-review.

Here's how I've tried to change its color.

I don’t want it to be colored with the default one. How can I change it?

Post count: 6600

Hi,

You can do it like this: http://screencast.com/t/9UjNVCcRhek
Or via css using this css:

.td-post-text-content .wpb_button {
background-color: red !important;
}

Thanks

Post count: 51

I’ve tried changing it like this (the first option you’ve shown), but it didn’t work.
I don’t want to do it through the CSS; For it I’ll have to add a new code for each one of my buttons.

I want to add this color code (#52D017), its name is “yellow green”, can’t I do it?

Post count: 388

I too am in favour of hex colours in shortcodes 🙂

Post count: 51

Is there anyone to answer that?

Post count: 6600

Hi,

Tested this and look like you can’t do it. The button doesn’t gets the color only if it’s one of these: http://demo.tagdiv.com/newspaper/buttons/
If you want other colors you have to add it via css and you can use the buttons class and re-write the color.
For example in your case you can use the class for green and add your own color so when you use the green for color it loads your custom color, like this:

.td-post-text-content .wpb_green {
background: #52D017 !important;
}

Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.