Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Flexform
  • #10831
    Laurium
    Member
    Post count: 7

    Is there a way to have a new button colour that is different from the accent colour in Flexform?

    i.e. a dark blue which isn’t in any of the button colour options.

    Thanks

    Laura

    #11102
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi Laura,

    It can’t be done by default, it needs some “cheating” ๐Ÿ™‚

    Use the button shortcode like my example:

    [button colour="black" type="slightlyrounded" size="small laura" link="http://#" target="_self"]Button text[/button]

    After choosing options and inserting it, add a unique name to it, like I added your name to the “size” attribute.

    Then, in the General theme options, you could add custom CSS like this:

    .sf-button.laura {
      background-color: #003366 !important;
    }

    You would need to repeat the process for each different button color.

    Regards,

    โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”

    Cosmin
    Support Assistant

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register