Changing Left button Color
-
I am using Perth Theme and the problem is that its left button’s color is the same color assigned to its footer.
How can I assin different colors to the left button of the theme’s header and the footer area.
Thanks! -
-
-
Alright, I’m not sure if the theme is not offering you the possibility to edit this directly from your dashboard but I’ll give you some details on how you can do it directly editing the style.css file.
First, locate the style.css file of your theme ( /wp-content/theme/perth/style.css ) – open that file with a text editor and at line ~1800 you will find this block of text :
.header-button.left-button { background-color: #315B9D; border: 2px solid #315B9D; color: #a51d1d;a.) to edit the button’s color, edit the background-color: #315B9D; and replace 315B9D with the code color your want. Example for white use: ffffff
b.) to edit the button’s border color, edit the border: 2px solid #315B9D; and again replace 315B9D with your color.
c.) to change the text that’s on the button, edit color: a51d1d;However, afaik this is a WordPress.org theme, and the support forum for this theme is one is here: https://wordpress.org/support/theme/perth
-
Many thanks for your response. I changed the two #315B9D and instead wrote #E08645 there.
I updated the css and refreshed my website (Under maintenance mode right now). I also refreshed the website using Ctrl+F5.
But nothing happened! :( -
-
It is http://www.hellojobinparis.com but it is Under maintenance mode. I am deactivating the mainenance mode right now.
-
As I see your theme is not taking the color of the button from the style.css file anymore. It looks there are some changes on the files compared to the demo theme: http://zcreenshot.com/2ql45.png – in this situation you must check the code again and make sure the button will take the style from style.css again. There are any other modifications you made on this theme lately ?
-
Thanks again..
Yes, I think I tried but I tried to restore it to the original one. Thanks, where can I find the original code as suggested by you?(Also can we remove the address of the website from this thread?)
-
You’re most welcome!
The original theme is here: https://wordpress.org/themes/perth/ and you can join the WordPress.org community here: https://wordpress.org/support/theme/perth – where is the Perth theme support forum as well.
Unfortunately I’m not able to remove your website address from here, maybe a moderator can help you with this.
-
Thank you very much for all the help.
I will put the original code and then make the changes you mentioned earlier.Shall I have further questions, I will post on the Perth forum which you told me about.
Sorry, I am pretty new on the forums – how can I make a request to a moderator?
- The topic ‘Changing Left button Color’ is closed to new replies.