NiceThemesChange Button Color – NiceThemes http://nicethemeswp.com/forums/topic/change-button-color/feed/ Mon, 21 Apr 2025 16:17:01 +0000 http://bbpress.org/?v=2.5.12-6148 en-US http://nicethemeswp.com/forums/topic/change-button-color/#post-6361 <![CDATA[Change Button Color]]> http://nicethemeswp.com/forums/topic/change-button-color/#post-6361 Fri, 25 Sep 2015 22:06:36 +0000 mikhail Hi,

I have went through the documentation and the support blog but cant find the answer to my question.

I would like to change the colors of the buttons on my site from grey to blue. I cant find the options anywhere.

Some screen shots:
http://www.evernote.com/shard/s279/sh/1f1a4f0d-477d-468c-bf47-b546d6921947/9c69f5879d045f27559defeeee511a0d

http://www.evernote.com/shard/s279/sh/612af3f5-5f24-4c6d-889d-a355e451694c/ce6530f3b2a2038e92badc269e404949

]]>
http://nicethemeswp.com/forums/topic/change-button-color/#post-6365 <![CDATA[Reply To: Change Button Color]]> http://nicethemeswp.com/forums/topic/change-button-color/#post-6365 Sat, 26 Sep 2015 14:30:32 +0000 Juanfra Aldasoro Hi,

Thank you for writing. Unfortunately there’s no option within the theme options to change the color of the button.

At this moment, the only way to change that would be adding some custom css to the button element:

button {
   background: blue;
   color: white;
}

You can learn more about custom CSS here: http://nicethemeswp.com/support/theme-docs/flatbase/#custom-css

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/change-button-color/#post-6369 <![CDATA[Reply To: Change Button Color]]> http://nicethemeswp.com/forums/topic/change-button-color/#post-6369 Sat, 26 Sep 2015 15:38:14 +0000 mikhail Juan,

That only works for the sidebar widget buttons, what about the post comment button and the button at the bottom of ever page? that is still grey

]]>
http://nicethemeswp.com/forums/topic/change-button-color/#post-6373 <![CDATA[Reply To: Change Button Color]]> http://nicethemeswp.com/forums/topic/change-button-color/#post-6373 Sun, 27 Sep 2015 14:31:28 +0000 Juanfra Aldasoro Hi,

Thank you for the follow up. All the classes for the different buttons are:

.button-primary, .button-blue, .button-secondary, .header .nav li.current-page a, .header .nav-callout, .cta-button, input[type="submit"], button, #commentform .button, #respond input[type="submit"], .nice-contact-form input[type="submit"], .blog-masonry #posts-ajax-loader-button {
   background: blue;
   color: white;
}

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/change-button-color/#post-6377 <![CDATA[Reply To: Change Button Color]]> http://nicethemeswp.com/forums/topic/change-button-color/#post-6377 Sun, 27 Sep 2015 18:46:43 +0000 mikhail Juan,

That worked well for most of the buttons. But, it did not work in 2 instances.

1.) sidebar widget- here is the code that i used and screenshot:
Submit a Ticket

http://www.evernote.com/shard/s279/sh/658b91e9-c323-4ad9-a4b4-f6ca3f08ca58/470167caabf993e09f1b5a0ef9846a64

It should be the same blue as the post comment button with white text.

2.) Call to Action button at the bottom of every page – it did not change with your code. Here is the code that I used in the custom css section:
“.button-primary, .button-blue, .button-secondary, .header .nav li.current-page a, .header .nav-callout, .cta-button, input[type=”submit”], button, #commentform .button, #respond input[type=”submit”], .nice-contact-form input[type=”submit”], .blog-masonry #posts-ajax-loader-button {
background: #092f57;
color: white;
}”

http://www.evernote.com/shard/s279/sh/7d3d000a-4196-4399-8777-f94d76bcab0c/bb5353c8c95b308eddace5c07f897209

]]>
http://nicethemeswp.com/forums/topic/change-button-color/#post-6378 <![CDATA[Reply To: Change Button Color]]> http://nicethemeswp.com/forums/topic/change-button-color/#post-6378 Sun, 27 Sep 2015 18:48:01 +0000 mikhail The widget code did not come out properly so here is a screenshot:

http://www.evernote.com/shard/s279/sh/ee32cf0f-bcd9-428c-a543-20579f53e222/b77e2ffac4a468796f08700681d93e4b

]]>
http://nicethemeswp.com/forums/topic/change-button-color/#post-6384 <![CDATA[Reply To: Change Button Color]]> http://nicethemeswp.com/forums/topic/change-button-color/#post-6384 Mon, 28 Sep 2015 14:24:41 +0000 Juanfra Aldasoro Hello,

Thank you for the follow up. That’s because certain rules apply to classes that have different hierarchies. For your code to get working on all buttons, apply the “!important;” value for both values.

.button-primary, .button-blue, .button-secondary, .header .nav li.current-page a, .header .nav-callout, .cta-button, input[type="submit"], button, #commentform .button, #respond input[type="submit"], .nice-contact-form input[type="submit"], .blog-masonry #posts-ajax-loader-button {
   background: #092f57 !important;
   color: white !important;
}

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/change-button-color/#post-6387 <![CDATA[Reply To: Change Button Color]]> http://nicethemeswp.com/forums/topic/change-button-color/#post-6387 Mon, 28 Sep 2015 14:35:27 +0000 mikhail Thanks Juan, we are getting closer!

There are still 2 small bugs.

1.) the sidebar button still has grey text for some reason
http://www.evernote.com/shard/s279/sh/5ef6e19e-6b5e-4180-aaea-ff757d035345/1e41376541bef76e36cfcc798f5ad27f

2.) The hover effect went away

]]>
http://nicethemeswp.com/forums/topic/change-button-color/#post-6390 <![CDATA[Reply To: Change Button Color]]> http://nicethemeswp.com/forums/topic/change-button-color/#post-6390 Mon, 28 Sep 2015 14:49:09 +0000 Juanfra Aldasoro No problem.

1) Well, that’s because you are using an ‘a’ tag inside the ‘button’.

Something like this will do the trick:

button a { color: white !important; }

2) The hover effect is only applied on forms like the comments form.

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/change-button-color/#post-6392 <![CDATA[Reply To: Change Button Color]]> http://nicethemeswp.com/forums/topic/change-button-color/#post-6392 Mon, 28 Sep 2015 14:56:14 +0000 mikhail 1) I couldnt figure out where to place your code, here is what it is currently:
http://www.evernote.com/shard/s279/sh/05e3c938-04a7-4431-bcc7-581bbfeb4efa/1f2e0891bef0a325a575b3152eacdb92

2) There used to be a hover effect, but with the custom code it took it away

]]>