• Resolved john_graver

    (@john_graver)


    Hi Nobita,

    When a html or text box is inserted in sticky widget, there is no formatting – only a pure text appears. For example, I have this code in html box:

    <span style="font-size: 12pt; font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif; color: red; text-align: center;"><strong>---some text---</strong></span>

    In sticky widget there is only the text displayed, disregarding the html formatting.

    In previous template versions this worked well.

    br/
    John

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author nobita

    (@nobita)

    Hi @john_graver

    
    <span style="font-size: 12pt; font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif; color: red; text-align: center;">
        <strong >---some text---</strong>
    </span>
    

    It is better to specify styles directly to elements than to specify them as parent elements.

    
    <span>
        <strong style="font-size: 12pt; font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif; color: red; text-align: center;">---some text---</strong>
    </span>
    

    this works for me.

    Thank you.

    a html or text box

    Note:Difference between text widget(text mode) and custom HTML widget

    In text widget, if you enter text that is not enclosed with tags, the p element is automatically added.

    custom html widget does not automatically add p elements if you enter text that is not enclosed with tags.

    For reliable reproduction of html, custom html widget is good.

    • This reply was modified 6 years, 8 months ago by nobita.
    • This reply was modified 6 years, 8 months ago by nobita.
    Thread Starter john_graver

    (@john_graver)

    Hi Nobita,

    Thanks for the hint – now it works.

    br/
    John

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Formatting in sticky widget’ is closed to new replies.