Advertisement

remove ::marker in list

Everything to do with Joomla! 5.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
rakeshy
Joomla! Intern
Joomla! Intern
Posts: 56
Joined: Fri Jun 27, 2008 12:25 am

remove ::marker in list

Post by rakeshy » Tue Jul 09, 2024 12:53 am

Trying to remove the bullet created by the UL LI within the .content-links-a

I tried many things with CSS.
But it is not loaded within the template for some reason

I have added this code in the template custom css

Code: Select all

li.com-content-article__link {list-style: none; list-style-type: none; text-align: center;}
li.content-links-a {margin-top:20px;margin-left:auto;margin-right:auto;list-style: none;list-style-type: none; text-align: center;}
This is the current css path:
div.article-details div.com-content-article__links.content-links ul.com-content-article__links.content-list li.com-content-article__link.content-links-a


It works fine within the Inpector of the browswer, but the CSS change is not properly loaded by the template adjustment. What am I missing here?

Advertisement
User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31159
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: remove ::marker in list

Post by Per Yngve Berg » Tue Jul 09, 2024 4:07 am

Mod. Note: Relocated the topic to the Template Forum.

What Template?

For Cassiopeia, the file is user.css

Mr. Wimpy
Joomla! Guru
Joomla! Guru
Posts: 502
Joined: Fri Dec 02, 2005 10:46 am
Location: The Netherlands

Re: remove ::marker in list

Post by Mr. Wimpy » Tue Jul 09, 2024 9:34 am

Could be cache or specificity...

Have you emptied the browsers cache?
Have you tried setting the list-style:none; to your ul?

Can you give us the url to the page that displays the list? So we can see if there is css overreding yours.

rakeshy
Joomla! Intern
Joomla! Intern
Posts: 56
Joined: Fri Jun 27, 2008 12:25 am

Re: remove ::marker in list

Post by rakeshy » Tue Jul 09, 2024 12:47 pm

Yes, emptied both browser and Joomla cache.

Yes both list-style and list-style-type; none don't work.

It works fine in Inspector, but just not within the template custom.css. Using Helix Ultimate.

Mr. Wimpy
Joomla! Guru
Joomla! Guru
Posts: 502
Joined: Fri Dec 02, 2005 10:46 am
Location: The Netherlands

Re: remove ::marker in list

Post by Mr. Wimpy » Wed Jul 10, 2024 12:27 pm

Do you have a link to page page where we can see the issue?

Advertisement

Post Reply

Return to “Templates for Joomla! 5.x”