Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Dante
  • #33825
    wondertracker
    Member
    Post count: 24

    Hi Ed,

    I’m trying to understand how to apply extra class to style a specific element within a page.

    For example, on my main page I have a Parallax section followed by a testimonial slider. I used an black background for the testimonial and I get a white space above it just before the parallax. In firebug I found that “margin: 0px 0;” eliminate the white space for the testimonial slider and “border-bottom: 0px” eliminate a thin white line from the bottom of the parallax…

    The question is, how to add these extra classes in the aformentionned ELEMENTS ?

    I tried adding it simply as is in the “extra class” field but it’s not the proper way ๐Ÿ™‚

    Thank you for your help

    P.

    #33950
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    Check the advanced tips section within our page builder documentation – http://dante.swiftideas.net/documentation/#swift-page-builder

    It covers quite a few custom classes that you can add to the elements to remove margins/paddings/borders.

    If you wanted no top margin or border for example, you would enter the following into the extra class box:

    mt0 bt0

    Hope that helps, let me know how you get on.

    – Ed

    #33974
    wondertracker
    Member
    Post count: 24

    It surely helps ๐Ÿ™‚

    I didn’t read well the documentation ๐Ÿ˜‰

    Thank you Ed,

    P.

    #34003
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    No worries, glad I could help ๐Ÿ™‚

    – Ed

    #40461
    mcannan
    Member
    Post count: 11
    This reply has been marked as private.
    #40783
    Tahir – SUPPORT
    Member
    Post count: 1212
    This reply has been marked as private.
    #40907
    mcannan
    Member
    Post count: 11
    This reply has been marked as private.
    #41072
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    @mcannan – You need to add mb0 in the extra class box for the parallax asset, and mt0 in the extra class box for the testimonial slider.

    – Ed

    #41135
    mcannan
    Member
    Post count: 11

    Thank you very much!

    #41546
    Melanie – SUPPORT
    Member
    Post count: 11032

    Great! ๐Ÿ™‚

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