Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Text element as title
New Landing › How can we help? › Themeforest Theme Support › Dante › Text element as title
- This topic has 28 replies, 6 voices, and was last updated 9 years by Rui Guerreiro – SUPPORT.
-
Posted in: Dante
-
March 17, 2014 at 7:06 pm #58294
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.
March 18, 2014 at 7:44 am #58399Hi,
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 IdeasJune 14, 2014 at 2:16 pm #82474Any news?
I edited file, but no way. Or at least, it seems not to be the right solution.
Any ideas?June 16, 2014 at 11:25 am #82679Hi,
Please try to put some space at there like and let me know your feedback.
Thanks ๐
With Best Regards
Swift IdeasJuly 28, 2014 at 9:58 am #95149Dear 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!July 28, 2014 at 10:06 am #95154Hi,
I am afraid that there is no add_filter so keep work with this fix.
ThanksJuly 28, 2014 at 10:08 am #95157Which 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?July 28, 2014 at 12:08 pm #95226Hi,
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
July 28, 2014 at 3:12 pm #95359Ok 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… ๐July 28, 2014 at 3:18 pm #95364Hi
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
August 18, 2014 at 8:50 am #101849Hi 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.August 18, 2014 at 9:03 am #101866Hi
You can set the style of the text in our text boxes?
– Kyle
August 19, 2014 at 3:31 pm #102377Please, see the attached screenshot ๐
Attachments:
You must be logged in to view attached files.August 19, 2014 at 3:37 pm #102382Please see mine ๐ You need to click that button
– Kyle
Attachments:
You must be logged in to view attached files.August 19, 2014 at 3:42 pm #102388Thanks 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. -
Posted in: Dante
You must be logged in and have valid license to reply to this topic.