Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #593147

    I need to use square brackets in the title of a caption in the fullscreen slider. But it seems that the brackets mess up the code.
    for instance if I put this text [brackets], next time I open I get this code in the caption text:
    ‘ custom_title_size=” custom_content_size=” caption_pos=’caption_bottom’ link_apply=” link=’lightbox’ link_target=” button_label=’Click me’ button_color=’light’ link1=’manually,http://’ link_target1=” button_label2=’Click me’ button_color2=’light’ link2=’manually,http://’ link_target2=” font_color=” custom_title=” custom_content=” overlay_opacity=’0.5′ overlay_color=” overlay_pattern=” overlay_custom_pattern=”]

    I tried with several plugins like Raw HTML without any luck.

    This is the site

    http://www.metzdesign.com

    thanks

    #593650

    Hi galluzzino!

    Please use html ascii http://www.ascii.cl/htmlcodes.htm

    [ will be &#091 ; (note : remove space before ; )

    ] will be &#093 ; (note : remove space before ; )

    Regards,
    Vinay Kashyap

    #593736

    Thanks Vinay,

    I have already tried that trick. Unfortunately doesn’t work. Enfold translates those codes into square brackets and then execute that strange code. Is there anyway enfold can treat square brackets just as square brackets?

    All the best

    Galluzzino

    #593810

    Hi!

    There is hardly an other solution, because the area is coded to translate any shortcode to actually HTML output, I am afraid.
    You will have to use a different way for it to work, or try add

     before the brackets word but that IF it works, it will also add some styling.
    
    Regards, 
    Basilis
    #593812

    Sorry Basils,
    I don’t understand. What so you mean by “add before the brackets word but that IF it works, it will also add some styling.”
    What shall I add before the brackets?
    I need to use square brackets and it will be a serious short coming for a paying theme, to not to allow to use standard keyboard characters.

    Galluzzino.

    #594234

    Hey!

    Please use a pseudo icon to the titles as mentioned in the below link

    http://nuttify.com/help/developer-manual/coding-style-guide/css-style-guide/css-tricks-before-pseudo-element-with-fontawesome/

    Best regards,
    Vinay Kashyap

    #596903

    At the end I have solved it with css:

    .squarebrackets:before {
    content: ‘[‘;
    }
    .squarebrackets:after {
    content: ‘]’;
    }

    and then <span class=”squarebrackets”>text in brackets</span>

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Square brackets in caption title of the fullscreen slider.’ is closed to new replies.