Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #945446

    Frammed text and superscript

    https://ibb.co/e61yYc

    Dear all,

    I’m trying to make a framed text like attached image. This is a Hotel, and i would like to write the squared meters of each room. For example, “Classic room” 22 m2 (last text inside a box and last number “2” in superscript format).

    Could you help me with this issue, please?

    Thanks and best regards,

    Emilio
    Hotel Sorolla Centro – Valencia.

    • This topic was modified 7 years, 2 months ago by centrhotel.
    #946219

    Hey centrhotel,

    Can you please show us the attached, we cant see it please upload it somewhere like imgru so we can see it.

    Best regards,
    Basilis

    #946458

    Dear Basilis,

    Thanks for your answer. Here you have the attached:
    https://ibb.co/e61yYc
    Framed text
    or
    http://imgsrc.ru/ch2018/59274793.html
    Framed text

    That we are looking for is a framed text, somethink like this:

    <span style=”border-image: initial; border: 1px solid black;”>21 m<sup>2</sup></span>

    How could we put this inside a simple block text from Avia editor?.

    Thanks in advance for all your help and best regards,

    Emilio
    Centrhotel

    • This reply was modified 7 years, 2 months ago by centrhotel.
    #946594

    Hi,

    You can use the below shortcode

    
    [av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-jgf28bl6' custom_class='' admin_preview_bg='']
    <span class="framed-text">21<span>m</span><sup>2</sup></span>
    [/av_textblock]
    

    Or the below HTML inside the text editor in “Text view”

    <span class="framed-text">
        21m<sup>2</sup>
    </span>

    And finally, add the below CSS to Enfold > General Styling > Quick CSS

    .framed-text {
        border:1px solid #ddd!important;
        padding: 5px;
        font-family: Lucida Sans Typewriter,Lucida Typewriter; 
        font-size: 28px;
    }

    Best regards,
    Vinay

    #946725

    Dear Vinay,

    Very nice!. It works perfect!.

    Thanks so much for all your help and have a nice day!!!

    Best regards,

    Emilio.

    #946839

    Hi,

    Glad we could help!
    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Vinay

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Text framed and superscript number’ is closed to new replies.