New Landing How can we help? Themeforest Theme Support Dante Text element as title

Viewing 15 posts - 1 through 15 (of 29 total)
  • Posted in: Dante
  • #58294
    Mike Mancini
    Member
    Post count: 143

    When I use the text block in the builder and add a widget title and delete the “This is a text block. Click the edit button to change this text.” Every time I save the page this text comes back. see pic.

    #58399
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit default.php at /dante/swift-framework/page-builder/builder/shortcode/

    Find this code at line 95
     "value" => __("<p>This is a text block. Click the edit button to change this text.</p>", "swift-page-builder"),
    
    Replace with 
    "value" => __("", "swift-page-builder"),
    

    Hopefully it should work 100% .

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #82474
    alemarengo
    Member
    Post count: 695

    Any news?
    I edited file, but no way. Or at least, it seems not to be the right solution.
    Any ideas?

    #82679
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please try to put some space at there like     and let me know your feedback.
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #95149
    alemarengo
    Member
    Post count: 695

    Dear Mohammad,
    isn’t out there a sort of add_filter solution to add to functions.php in the child theme?
    This kind of default state is continuously affecting my home page…
    Please, let me know.
    Many thanks!

    #95154
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am afraid that there is no add_filter so keep work with this fix.
    Thanks

    #95157
    alemarengo
    Member
    Post count: 695

    Which is very risky because… every update you will release to Dante it makes me be aware to update that piece of code, too. Is it so or not?
    Thanks for your reply.

    *** EDIT ***
    anyway, space suggestion is not working… how do the others do with this?

    #95226
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please insert some space at text block like       to avoid this issue and hope that should resolve the issue. If you dont have text then you dont need to use text block.

    Thanks

    #95359
    alemarengo
    Member
    Post count: 695

    Ok Mohammad, I’ll follow your suggestion.
    The point is that often I have to place Titles. In a template like Enfold, there’s the opportunity to place title block. I expected to do the same in the wonderful Swift Builder… ๐Ÿ™‚

    #95364
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Instead of adding the page title in the ‘Widget Title’ field, add it in the main content area of the text box? Set it to h1 or h2 for example. This will stop the text auto populating

    – Kyle

    #101849
    alemarengo
    Member
    Post count: 695

    Hi Kyle.
    Thanks for your reply.
    I tried your suggested solution. It would be great to use if only I have the opportunity to set a stylized text as a title. It is not enough to wrap a title in the classic heading style, e.g. <h3></h3>. Text won’t have a middle row on its right side. Given that, consider that in your text block there’s no option to select text format (paragraph, heading 1, etc). So, there’s no right solution in this case.
    I think there are two: 1) get rid of default text boxes’ text – which is not possible; 2) add a new shortcode only for titles or headings, like many other themes have.
    For now, correct me if I’m wrong, I have to edit Dante’s default.php file.

    #101866
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You can set the style of the text in our text boxes?

    – Kyle

    #102377
    alemarengo
    Member
    Post count: 695

    Please, see the attached screenshot ๐Ÿ™‚

    Attachments:
    You must be logged in to view attached files.
    #102382
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Please see mine ๐Ÿ™‚ You need to click that button

    – Kyle

    Attachments:
    You must be logged in to view attached files.
    #102388
    alemarengo
    Member
    Post count: 695

    Thanks Kyle!
    But… the final result isn’t a real title as widget has: right line’s missing ๐Ÿ™

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 29 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