-
AuthorPosts
-
April 19, 2018 at 10:12 pm #944339
Hi,
I saw the similar solution at (https://kriesi.at/support/topic/custom-separator-image-instead-of-icon/#post-507798), but i would to use a text between the hr-custom.April 20, 2018 at 3:19 am #944383Hey paulohenrique,
Perhaps this solution will work for you:
in a code block on your page, add this code:<hr class="hr-text">
then add this code in the General Styling > Quick CSS field:
hr.hr-text { font-family: Arial, sans-serif; text-align: center; line-height: 1px; height: 1px; font-size: 1em; border-width: 1px 0; border-style: solid; border-color: #676767; margin: 20px 10px; overflow: visible; /* ensure 1px gap between borders */ -webkit-box-sizing: content-box; -moz-box-sizing: content-box; -ms-box-sizing: content-box; -o-box-sizing: content-box; box-sizing: content-box; } hr.hr-text:after { content: "Enfold"; color: #000; display: inline; background-color: #fff; padding: 0 0.5em; }
Adjust the word “Enfold” to suit.
Best regards,
MikeApril 26, 2018 at 3:29 am #947020Thank you Mike.
It’s work, look there (in private), but i would like similar this link http://www.penodia.com/themes/peno-html-template/blog-classic.htmlApril 26, 2018 at 3:37 am #947024I already changed the style, tank you so much.
April 26, 2018 at 4:14 am #947041Mike,
I have other problem, how can i apply in differents objects on the same page? (link in private)I already created one code for each objets.
April 26, 2018 at 10:49 am #947182Hi,
For the hr:after part of the css, it should also include the class, like this:hr.hr-text:after {
I corrected the example above. For your css please use these:
hr.newsletter:after hr.instagram:after
Best regards,
MikeApril 26, 2018 at 9:47 pm #947473Thanks,
It worked.April 27, 2018 at 1:37 am #947549Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
and the video tutorials here
And if there are features that you wish Enfold had, you can request them and vote the requested ones here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Custom Separator text instead of image’ is closed to new replies.