New Landing How can we help? Themeforest Theme Support Dante Remove/hide some elements from Swift Page Builder in Dante

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #44871
    stainsbyte
    Member
    Post count: 10

    Hi SwiftIdeas people,

    I would like to remove or hide some of the Elements and Pre-Built Pages for a user in the Swift Page Builder in the Dante theme.

    This user will be adding Posts, Pages, Media and Portfolio items, but the Swift Page Builder options are currently much too complex for his needs and his current computer skills. I would like to reduce it to Blank Spacer, Images and Text Block for his use.

    I have managed to hide Galleries, Teams, Clients, etc in Admin using the Adminimizer and Members plugins, but I would like to further simplify his whole user experience (and my training plans). Can you help me, please?

    many thanks
    Thea (stainsbyte)

    #45472
    Tahir – SUPPORT
    Member
    Post count: 1212

    Hi,
    It is theoretically possible to write some custom css that is enqueued in the backend which simply removes the items from the builder. But since it is a complex task, support does not cover it.

    So best would be to hire a freelancer of your choice and should not take more then a few hours.

    I can also do it for you on a freelance basis, Email is [email protected] .

    Thanks
    Tahir

    #45658
    stainsbyte
    Member
    Post count: 10

    Thanks Tahir for your reply. When you say “custom CSS enqueued in the backend”, can that be done from the Theme Options > Custom CSS or from a Child Theme? If not, how do I ensure future theme updates don’t overwrite any changes?

    many thanks,
    Thea

    #45737
    Tahir – SUPPORT
    Member
    Post count: 1212

    Hi,

    No like i mentioned earlier it is a complex task. You have to write custom css, create a php function that puts the css on that specific admin page for it to work. Also additional code that detects who is viewing the page ie the admin or editor .

    Hope this helps.

    Best,
    Tahir

    #55826
    stainsbyte
    Member
    Post count: 10

    FYI I successfully hid the Elements in the Swift Page Builder by using a plugin “Admin JavaScript” with the following code:

    var slideout = jQuery(“#spb-option-slideout”);
    var hide_items = [“name1”, “name2”, …];
    for (var j = 0; j < hide_items.length; j++) {
    slideout.find(“#”+hide_items[j]).parent(“li”).hide();
    }

    The name of each element I wanted to hide was found through Mozilla Firebug as the “id=” of the item. The elements are hidden for each user, and can very easily be reinstated if required.

    Thanks to Hayden Stainsby for his assistance.

    #55924
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Thanks for sharing your solution!

    – Kyle

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