Tag <ul> and <li> in articles and modules

GK User
Tue Jan 11, 2011 2:13 pm
Example:
Code: Select all
<ul>
    <li>text 1   
        <ul>
            <li>text 2</li>
        </ul>
    </li>
</ul>

In the article displayed:
text 1
text 2
How to repair that?
HTML.jpg


Administrator.jpg


Front.jpg
User avatar
Fresh Boarder

GK User
Tue Jan 11, 2011 2:24 pm
please show the live site. easier to see where the mistake is..
User avatar
Platinum Boarder

GK User
Tue Jan 11, 2011 3:02 pm
Site is offline.
View photos.
User avatar
Fresh Boarder

GK User
Tue Jan 11, 2011 8:04 pm
i got same in my test inviroment...

i'll report it to developers..
User avatar
Platinum Boarder

GK User
Tue Jan 11, 2011 10:12 pm
Hi

Please remember that you have special typography prepared to be used with GK typography plugin.
Anyway, if you don't want to use it you can add this lines on override.css file:

Code: Select all
.article-content ul {margin-left: 20px;line-height:1.50em;
list-style:square;list-style-position: inside; overflow:inherit;}


Don't forget to enable override.css file on template parameters.

Cheers ;)
User avatar
Platinum Boarder

GK User
Tue Jan 11, 2011 11:52 pm
This is not the best solution.
The tag "ul"does not work in other modules, using the list.

Thanks.
User avatar
Fresh Boarder

GK User
Wed Jan 12, 2011 2:13 am
ok so try this instead:

Code: Select all
.article-content ul li,.moduletable_content ul li {margin-left: 20px;line-height:1.50em;list-style:square;list-style-position: inside; overflow:inherit;border:none!important}


I'm being careful because i don't want to mess template typography.


Cheers
User avatar
Platinum Boarder

GK User
Wed Jan 12, 2011 9:55 am
This is not a good idea, ul and li tags should show up normally, if we do not assign them a different style in the articles, modules and components.
I have this:
Code: Select all
.article-content ul {margin-left: 30px; list-style:inherit; list-style-position: outside; overflow:inherit;}
#component ul {margin-left: 30px; list-style:inherit; list-style-position: outside; overflow:inherit;}
.moduletable_content ul {margin-left: 20px; list-style:inherit; list-style-position: outside; overflow:inherit;}

It must suffice for now, but it is not good because I have many letters and articles in the sitemap component that uses the letter.
Thank you for your help.
User avatar
Fresh Boarder


cron