Reply To: Best way (or plugin) to get buttons in widgets?

Home Forums Support Best way (or plugin) to get buttons in widgets? Reply To: Best way (or plugin) to get buttons in widgets?

Home Forums Support Best way (or plugin) to get buttons in widgets? Reply To: Best way (or plugin) to get buttons in widgets?

#150787
bdbrown

You would add an anchor tag like this to your post/page to create the button:

<a href="#" class="button pumpkin">My Button</a>

That will set the button text of “My Button”. The size is set automatically based on the text, or you could use this to set the size:

.button {
    height: 25px;
    width: 150px;
}

The theme applies the following default css; you could set your own padding/margins:

.button {
    padding: 10px 20px;
    display: inline-block;
}

Then something like this to color it:

.button.pumpkin,
.button.pumpkin:visited {
	background: #D35400;
	color:#FFF;
}

.button.pumpkin:hover,
.button.pumpkin:active {
	background: #C54E00;
	color:#FFF;
}