Not showing the content of an HTML Object in preview mode

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
Aris
 
 
Posts: 232
Joined: Wed Aug 28, 2013 9:28 am

Not showing the content of an HTML Object in preview mode

Post by Aris » Sat Aug 26, 2017 3:26 pm

Hi.

I think that my question is not so clever, but I have the following problem:

I have a Layout grid. Inside it I located a HTML Object (I have done this a lot of times).

But now I put some content in the HTML Object, but in Preview mode I see nothing.
The content I put is the following:

Code: Select all

<div>
  <ul class="faq">
        <li class="q"><img src="img/triagle_red.png"> Lorem ipsum dolor sit amet, consectetur adipiscing elit?</li>
        <li class="a">Suspendisse sit amet elit lacinia, feugiat magna at, luctus massa. Aliquam sodales dictum nulla. consectetur adipiscing elit.</li>
        
        <li class="q"><img src="img/triagle_red.png"> Lorem ipsum dolor sit amet, consectetur adipiscing elit?</li>
        <li class="a">Suspendisse sit amet elit lacinia, feugiat magna at, luctus massa. Aliquam sodales dictum nulla. consectetur adipiscing elit.</li>
        
        <li class="q"><img src="img/triagle_red.png"> Lorem ipsum dolor sit amet, consectetur adipiscing elit?</li>
        <li class="a">Suspendisse sit amet elit lacinia, feugiat magna at, luctus massa. Aliquam sodales dictum nulla. consectetur adipiscing elit.</li>
        
        <li class="q"><img src="img/triagle_red.png"> Lorem ipsum dolor sit amet, consectetur adipiscing elit?</li>
        <li class="a">Suspendisse sit amet elit lacinia, feugiat magna at, luctus massa. Aliquam sodales dictum nulla. consectetur adipiscing elit.</li>
        
        <li class="q"><img src="img/triagle_red.png"> Lorem ipsum dolor sit amet, consectetur adipiscing elit?</li>
        <li class="a">Suspendisse sit amet elit lacinia, feugiat magna at, luctus massa. Aliquam sodales dictum nulla. consectetur adipiscing elit.</li>
        
        <li class="q"><img src="img/triagle_red.png"> Lorem ipsum dolor sit amet, consectetur adipiscing elit?</li>
        <li class="a">Suspendisse sit amet elit lacinia, feugiat magna at, luctus massa. Aliquam sodales dictum nulla. consectetur adipiscing elit.</li>
      </ul>
     </div>
I tried to eliminate <div>, but I see nothing.

I think that something I make wrong, but I do not know what.

Thank you.

User avatar
Pablo
 
Posts: 19288
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Not showing the content of an HTML Object in preview mode

Post by Pablo » Sat Aug 26, 2017 3:49 pm

Did you apply a font to each item?

Please note that I cannot help you with custom code.
It is assumed that you know what you are doing when adding HTML code manually.
However I think your styles are missing font properties.

Aris
 
 
Posts: 232
Joined: Wed Aug 28, 2013 9:28 am

Re: Not showing the content of an HTML Object in preview mode

Post by Aris » Sat Aug 26, 2017 3:57 pm

Please note that I cannot help you with custom code.
You are wright, Pablo.
This is a jquery plugin with FAQs.
However I think your styles are missing font properties.
I will try this solution.

Thank you.

Aris
 
 
Posts: 232
Joined: Wed Aug 28, 2013 9:28 am

Re: Not showing the content of an HTML Object in preview mode

Post by Aris » Sat Aug 26, 2017 5:46 pm

However I think your styles are missing font properties.
This was the big problem!

Thank you, Pablo!

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests