skip to Main Content

Hi I am new on here first of all nice to meet you all

I am facing a problem on wordpress

I am using "Quick Download Button" Plugin which the link is https://wordpress.org/plugins/quick-download-button/#description

after I have install it on my site I tried to change the button colour by css but I never ever success to change it. I have checked the button in inspect and I copied it but it didn’t work.

what I tried was

.g-btn.f-l 
    {
    color: #3c1c1c;
    }

but it never worked.

please anyone help will be awsome thanks and sorry for my bad english

2

Answers


  1. Like @jared said – it shouldn’t be too hard to find the right selector and change the color within your browsers dev-tools. If you see the color change, bingo! Then if that doesn’t work within your css file itself, you might have an ordering issue with your sites css files (i.e. your css is loading before the plugins). Quick way to test this is add the !important selector to that rule on your file – e.g:

    color: #3c1c1c !important;
    
    Login or Signup to reply.
  2. the css color-parameter is not defining the color of the button, but from the text of the button. if you want to change the color of the button, you need to look after "background" or "background-color".

    example:

    .g-btn.f-l{
      color: #FFFFFF; 
      Background-color: #3c1c1c;
    }
    

    Visible example:

    enter image description here

    Source of example: Kryptonews Lexikon

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search