New Landing How can we help? Themeforest Theme Support Dante Extra Class Name Inheritance

Viewing 15 posts - 1 through 15 (of 15 total)
  • Posted in: Dante
  • #64862
    parkourgenerations
    Member
    Post count: 22

    Wordpress v3.8.1
    Theme : Dante v2.52

    Hi there,
    Loving the theme, great stuff. One slight thing regarding the Swift Theme Builder is that whenever I add an “Extra Class Name” to a parent container, let’s say a simple row, then all of the child elements within that container automatically have their “Extra Class Names” replaced by the parent one.

    As an example, lets say that I have a row with some text in it.
    If I give the text an extra class name called ‘paddingTop20px’ to, yep, you guessed it, give a padding of 20px from the style.css file.
    Then I give the container row an extra class name called ‘paddingBottom60px’ as an example, then the text element obtains this new class as well as the row.
    I can go back through the child elements and give them their original class names again, but it shouldn’t really work like this, should it?

    Cheers!

    #64880
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You need to be more specific in your css file. For e.g. you will need to have this:

    .paddingBottom60px .paddingTop20px {
       padding: 20px 0 0;
    }

    – Kyle

    #64882
    parkourgenerations
    Member
    Post count: 22

    Thanks Kyle, but no, that CSS was just an example.
    My issue is that the parent “Extra Class Name” entry box in the swift page builder overrides the child one.

    #64889
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    So your saying the text box inside the row loses it’s extra class?

    – Kyle

    #64891
    parkourgenerations
    Member
    Post count: 22

    Yes. The text box looses it’s extra class and is replaced by the parent’s one. It seems that the parent’s extra class take precedent over all of the children’s extra classes.

    #64892
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Please can you provide me with a link and login so that I can investigate the issue?

    – Kyle

    #64894
    parkourgenerations
    Member
    Post count: 22
    This reply has been marked as private.
    #64912
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    It worked fine for me?

    – Kyle

    #64914
    parkourgenerations
    Member
    Post count: 22

    Hmm. OK, let’s make sure we’re both doing the same thing.

    1. On the child TEXT element, click on the edit ‘pen’ icon to bring up options for the text.
    2. Edit the ‘Extra Class Name’ to ‘ChildCLASS’.
    3. Click Save.

    4. On the parent ROW element, click on the edit ‘pen’ icon to bring up options for the row.
    5. Edit the ‘Extra Class Name’ to ‘ParentCLASS’.
    6. Click Save.

    7. Return back to the the child TEXT element and look at the ‘Extra Class Name’. It should have now changed to ‘ParentCLASS’ and is not ‘ChildCLASS’.

    This doesn’t happen for you?

    #64924
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ahh yes it does, I will forward this to the developer and hopefully will get it fixed soon.

    – Kyle

    #64933
    parkourgenerations
    Member
    Post count: 22

    OK, thanks.

    #64943
    Melanie – SUPPORT
    Member
    Post count: 11032

    Thank you for the patience!

    #64996
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Thanks for letting me know about this, will get it sorted for the next update!

    – Ed

    #65010
    parkourgenerations
    Member
    Post count: 22

    No worries Melanie and Ed! Look forward to it.

    Cheers.

    #65145
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Yes of course .
    Thanks 🙂
    With Best Regards
    Swift Ideas

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