Built in button in sydney theme?

Hello,

I noticed that my sydney pro theme has options for the layout of buttons. But there is not a standard button available in this theme, is there?

I’m just asking because I am using a plugin right now (Max buttons) but I prefer to minimise the number of plugins in order to increase site speed.

Thanks!
René

You can use this HTML code and insert it using text widget or HTML mode editor on post/page editing screen.


<a href="#" class="roll-button">My button</a>
<a href="#" class="roll-button border">My button</a>
<a href="#" class="roll-button light">My button</a>
<a href="#" class="roll-button dark">My button</a>
<a href="#" class="roll-button dark border">My button</a>
<a href="#" class="more-button">My button</a>

Regards,
Kharis

Ah, good to know, that saves a plugin, great!

Final question please: is it possible to modify the button color or is it always taken from the theme customising (the “primary color” I guess).

Thanks,
René

Hello there,

To style the button color, you can use the below CSS code:


.roll-button {
  border-color: #fff000;
  background-color: #fff000;
  color: #ff0000;
}

.roll-button:hover {
  border-color: #ff0000;
  background-color: #ff0000;
  color: #fff000;
}  

To apply it to your site, add it into your site’s additional CSS option that resides under the Appearance > Customize > Additional CSS.

Regards,
Kharis