Editing <ul> Items Removes List Attribute?

Hey,

Whenever I wrap an unordered list (using

    ) in the
    tags, the user can edit the content, but when they click out the box where they’re editing, the list items turn into normal paragraphs.

    Is there a different way of making lists editable? Or is there a way to stop this from happening?

    Thanks,

    • James.

Oh, and the URL where you can view the source code is www.digitalprosperity.com/test/5/.

Thanks,

  • James.

Try to…

  1. wrap your text into p tags like: <ul><li><p>this is my text</p></li></ul>
  2. to each (single) of your <ul></u> assign a class=sc-content
  3. do not wrap two ul lists into one class=sc-content

Thanks for the reply! That fixed it.

Although now I have another problem… When dragging an image into the top section of the page, it disappears when viewing the page live. It also shrinks into nothingness when trying to resize it. I recorded a short video to show you what I mean: https://youtu.be/sX6zczsPdUc .

Any help?

Thanks,

  • James.

Hi, did you check in console if image is actually loading or it gives 404 error for that image. Also could be css issue.

The Problem is the inline style within your img tag width:100%
<img alt="" style="width:100%;" src="images/digital-prosperity-176px-white-sc590f2889b224a-176.png
I guess it is created by sitecake.
I run onece into the same problem and did not found a solution for it. It is a sitecake bug

Thanks for the replies! I managed to fix this by applying the CSS code…

width:auto !important;

… to the image, and editing the max-width within the div section.

BUT now I have another image-related problem. When I try to resize the top image (logo), it automatically shrinks down to nothingness and disappears. For the second image down (ebook cover), I can shrink it down but not make it larger. Then I can shrink or grow the other images without any problems.

Here’s a quick video showing you what I mean, with the red rings showing when I left click: https://youtu.be/wrn_Cf0_DW8 .

Any idea why this is happening and how to fix it?

Thanks,

  • James.