Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #171241

    I am looking for a possibility to add a horizontal ruler with custom text, such as is possible in the theme builder. Can I do that? I can’t find it in the shortcodes menu or other way. Otherwise it would make a great feature in a future update. I’ve seen quite a number of other themes where you can do that, and it shouldn’t be much a problem since there seems to be some “class” with it already. :)

    #171439

    Hey Skald!

    You can do this using combination of Text Block and Horizontal Ruler. You can add a unique selector for each Avia Elements. Edit functions.php, find this code:

    if(isset($avia_config['use_child_theme_functions_only'])) return;

    Below, add this code:

    add_theme_support('avia_template_builder_custom_css');

    You can then add a Text Block over a Horizontal Rule then add unique css selector on “Custom Css Class” field. Move the Text Block using margins or adjust the position.

    Regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘"Ruler with custom text", as shortcode or similar?’ is closed to new replies.