Jump to content


Photo
- - - - -

Button color changing not working

button bolor

Best Answer Danny , 09 March 2014 - 12:27 PM

Hi,

 

This button is not related to PageLines/DMS and is part of the Wordpress core. If you want to customize it and are having issues, you will need to ask this question on the Wordpress support forums.

Go to the full post


  • Please log in to reply
5 replies to this topic

#1 rijans

rijans

    Super Member

  • Members
  • PipPipPipPip
  • 164 posts
  • LocationDhaka, Bangladesh
  • Framework Version:DMS 2.x
  • Country: Country Flag

Posted 08 March 2014 - 06:12 PM

I was trying to change to button color of http://techgainer.com/login and/or all buttons across the site! For that, I used the code

.wp-core-ui .button {background:#FF6400; border-color: #6c2b00;}

 

But it's not working!



#2 batman

batman

    Bat Learning

  • Members

  • 2167 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 08 March 2014 - 09:13 PM

Hi @rijans

 

Please, you can try with

 
.wp-core-ui .button-primary {
    background: none repeat scroll 0% 0% #FF6400 !important;
    border-color: #6c2b00;
}
 
.wp-core-ui .button-primary:active {
    background: none repeat scroll 0% 0% #FF6400 !important;
    border-color: #6c2b00;
}
 
wp-core-ui .button-primary:hover {
    background: none repeat scroll 0% 0% #FF6400 !important;
    border-color: #6c2b00;
}


#3 rijans

rijans

    Super Member

  • Members
  • PipPipPipPip
  • 164 posts
  • LocationDhaka, Bangladesh
  • Framework Version:DMS 2.x
  • Country: Country Flag

Posted 09 March 2014 - 05:07 AM

@batman  not working. code is now live on the site. see the button at 

 

http://www.techgainer.com/wp-login.php



#4 batman

batman

    Bat Learning

  • Members

  • 2167 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 09 March 2014 - 10:35 AM

Hi

Please you can try with

 

#wp-submit.button.button-primary.button-large {

    background: none repeat scroll 0% 0% #FF6400 !important;
    border-color: #6c2b00;
}

 

#wp-submit.button.button-primary.button-large:active {

    background: none repeat scroll 0% 0% #FF6400 !important;
    border-color: #6c2b00;
}

 

#wp-submit.button.button-primary.button-large:hover {

    background: none repeat scroll 0% 0% #FF6400 !important;
    border-color: #6c2b00;
}


#5 rijans

rijans

    Super Member

  • Members
  • PipPipPipPip
  • 164 posts
  • LocationDhaka, Bangladesh
  • Framework Version:DMS 2.x
  • Country: Country Flag

Posted 09 March 2014 - 10:42 AM

@batman Still not working! :( Code is live on site



#6 Danny

Danny

    Is Awesome!

  • Moderators
  • 17139 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 09 March 2014 - 12:27 PM   Best Answer

Hi,

 

This button is not related to PageLines/DMS and is part of the Wordpress core. If you want to customize it and are having issues, you will need to ask this question on the Wordpress support forums.


  • rijans likes this





Also tagged with one or more of these keywords: button, bolor