New Landing How can we help? Themeforest Theme Support Dante Centering widget titles?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Posted in: Dante
  • #80428
    programworks
    Member
    Post count: 9

    I’m attempting to center the titles for widgets (such as full width text block) but can’t see any way to do so. Adding custom classes don’t seem to work and editing raw code doesn’t seem to do anything either. I can see on the Dante sample About Us page (and a few others) it somehow has the h3 header classed and working correctly but I can’t see any way to do this.

    Sorry if this has been addressed before, I don’t see a way to search these forums.

    Thanks!

    #80451
    programworks
    Member
    Post count: 9
    This reply has been marked as private.
    #80667
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you please provide us the url of your site in order to help you with that situation?

    Best Regards,
    Rui

    #80680
    programworks
    Member
    Post count: 9

    Hello,

    I can provide screenshots but unfortunately the site is currently hosted internally at my company and cannot be accessed from the outside world.

    I’m basically trying to replicate how the testimonial slider title is centered using the “spb-heading spb-center-heading” class. I cannot see a way to style only specific widget titles (I did discover a way to center ALL widget titles, but that isn’t what I’m going for).

    Let me know what else I can provide to help!

    Thanks.

    #80691
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code :

    h3.spb-heading{text-align:center !important}
    h3.spb-heading span:before, h3.spb-heading span:after{width:40px !important}

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #80692
    programworks
    Member
    Post count: 9

    Hello,

    Thank you very much! Is there any way to have this apply to only specific widget titles? I’ve tried combining this with a custom class but did not get results, maybe my syntax was wrong.

    Thanks!

    #80701
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this code for specific widget with extra class

    .specific_widget_class h3.spb-heading{text-align:center !important}
    .specific_widget_class h3.spb-heading span:before, h3.spb-heading span:after{width:40px !important}

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #80706
    programworks
    Member
    Post count: 9

    Fantastic!! Thank you very much for the help. This worked perfectly.

    #80724
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome . I’m glad that issue resolved .
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

Viewing 9 posts - 1 through 9 (of 9 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