Remove points from a list in an article
- GK User
- Thu Jan 08, 2015 7:15 pm
Hello, how do I remove the points from a list <ul> inserted in an article?
I saw that if I post a list <ul> in a module, the points on the side are not present. But if I write an article, the points are present.
Thank you
I saw that if I post a list <ul> in a module, the points on the side are not present. But if I write an article, the points are present.
Thank you
-
- Fresh Boarder
- GK User
- Thu Jan 08, 2015 8:08 pm
Unordered list in standard has bullets. You can use inline css and remove the bullets:
http://www.w3schools.com/css/css_howto.asp
http://www.w3schools.com/css/css_howto.asp
- Code: Select all
<ul style="list-style-type: none;">
<li>...</li>
<li>...</li>
<li>...</li>
</ul>
-
- Moderator
- GK User
- Thu Jan 08, 2015 11:26 pm
Thanks for the quick reply.
Unfortunately, however, does not work.
It does not work well:
<ul style="list-style-type: none;">
<li>...</li>
<li>...</li>
<li>...</li>
</ul>
It did not work either so:
<ul style="list-style-type: none;">
<li style="list-style: none;">...</li>
<li style="list-style: none;">...</li>
<li style="list-style: none;">...</li>
</ul>
Unfortunately, however, does not work.
It does not work well:
<ul style="list-style-type: none;">
<li>...</li>
<li>...</li>
<li>...</li>
</ul>
It did not work either so:
<ul style="list-style-type: none;">
<li style="list-style: none;">...</li>
<li style="list-style: none;">...</li>
<li style="list-style: none;">...</li>
</ul>
-
- Fresh Boarder
- GK User
- Sat Jan 10, 2015 9:49 am
Could you please post an url to your site - to a sample page where this issue can be seen?
-
- Moderator
- GK User
- Sat Jan 10, 2015 11:28 pm
-
- Fresh Boarder
- GK User
- Sun Jan 11, 2015 11:19 am
The problem is elsewhere We use custom bullets for our typography which doesn't depend on list-style property.
To fix this please edit: /templates/gk_university/css/override.css and add at its end:
Now add class "nobullets" to your list.
Remember to enable "CSS override" in template settings - advanced section.
To fix this please edit: /templates/gk_university/css/override.css and add at its end:
- Code: Select all
.nobullets li:before {display: none;}
Now add class "nobullets" to your list.
Remember to enable "CSS override" in template settings - advanced section.
-
- Moderator
- GK User
- Sun Jan 11, 2015 2:13 pm
Perfect. So it works well.
Thanks for the help.
Thanks for the help.
-
- Fresh Boarder
- GK User
- Tue Jan 13, 2015 5:53 pm
Is there anything else I can help you with regarding this topic?
-
- Moderator
8 posts
• Page 1 of 1