New Landing How can we help? Themeforest Theme Support Dante How to center buttons

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #51341
    parcyvall
    Member
    Post count: 143

    Dear Dante-Team,

    I just noticed that centered buttons are not aligned perfectly. They seem to be off by a few pixels. I checked and the width of the sf-button class is slightly bigger than the button displayed. This seems to be an issue with all button kinds.

    How can I fix this?

    I am using the latest Dante version.

    Kind regards
    Simon

    #51532
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please share website URL so i can check and resolve the issue very soon .

    With Best Regards
    Swift Ideas

    #51565
    parcyvall
    Member
    Post count: 143
    This reply has been marked as private.
    #51654
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please attach a screenshot and mark issues so i can get resolve easily .

    With Best Regards
    Swift Ideas

    #51673
    parcyvall
    Member
    Post count: 143

    I attached, two screenshots. One as the “Startseite” looks, and one where I marked how much the buttons are off. It seems to be 5px to the left.

    #52201
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @parcyvall,

    If you only ever use one button in a line, then you can add this custom css:

    a.sf-button {
    margin-right: 0;
    }

    Hope that helps!

    – Ed

    #52297
    parcyvall
    Member
    Post count: 143

    That worked, thanks Ed!

    #52303
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great!

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

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

License required for the following item
Login and Registration Log in · Register