Home Forums General Discussion Button options


This topic contains 1 reply, has 2 voices, and was last updated by  themeweaver 5 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #3558

    Daniel Riou
    Post count: 5

    first, thanks for your great theme, I appreciate it very much. I’m new to CSS and HTML and I was wondering if it is possile to set a fixed width on a button and also to set a different color from the default color with an hex code…

    Thanks again!!


    Post count: 730

    If you don’t want to change all buttons then you need to add an extra css class to the custom button, then add some custom css to specify width and color:

    .mybutton.button, .mybutton.button:visited {
    background-color: #F15352;
    width: 100px;
    .mybutton.button:hover { background-color: #ED0707; }

    To use this create a button and add mybutton class:

    <a href="#" class="button mybutton">text</a>

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.