Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello rweiser,

    You did not mention, which button color you want to be changed. The color you need to be change the structor of the button a bit assign id or class as per the need.

    That help you to change the button color.

    I hope the above was helpful.

    Kind regards,

    Manoj

    Theme Author Taras Dashkevych

    (@taskotr)

    Thank you Manoj for help ??

    @rweiser
    Could you please share a screenshot (https://snag.gy/) of the button you are talking about along with the link to the page?

    Thanks,
    Taras

    Thread Starter rweiser

    (@rweiser)

    Hello,

    Sorry Manoj, I do not understand what you mean. The page is https://developpa.io and I want to change the colour of the button “subscribe”

    Thank you

    Theme Author Taras Dashkevych

    (@taskotr)

    To change a background color for that specific button please create additional class and add it to the button. For example, you can create subscribe-button class. Then use this custom CSS:

    
    #content .jumbotron-header .button.subscribe-button {
      background: #000000;
      color: #ffffff;
    }
    
    #content .jumbotron-header .button.subscribe-button:hover {
      background: #ffffff;
      color: #000000;
    }
    

    The final HTML of your button should look like this:

    
    <a class="button subscribe-button" href="https://eepurl.com/dhJf9H">Subscribe</a>
    

    Best,
    Taras

    Thread Starter rweiser

    (@rweiser)

    Hello Taras,

    Thanks for your detailed description. I am new to web page building so I do not know where to create this class. Do I have to edit the theme file and add some code? If so, in what line? How do I create the class?

    Thanks for your help

    Theme Author Taras Dashkevych

    (@taskotr)

    Let’s try an alternative solution without adding any custom classes. Please just add this custom CSS:

    
    .home #content .jumbotron-header .entry-content a.button:nth-of-type(2) {
      background: #000000;
      color: #ffffff;
    }
    
    .home #content .jumbotron-header .entry-content a.button:nth-of-type(2):hover {
      background: #ffffff;
      color: #000000;
    }
    

    This custom CSS will change the color of the second button in your Hero section.

    Hope this helps.

    Best,
    Taras

    Thread Starter rweiser

    (@rweiser)

    Hello Taras,

    That worked! Thank you very much for all the support ??

    Theme Author Taras Dashkevych

    (@taskotr)

    You are welcome ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Button colour’ is closed to new replies.