Conceal the bullet point in an unorganized list

I am currently attempting to customize the appearance of an unordered list that is being used for the navigation menu on a specific website. The website in question is:

On this site, you will notice that there is a dot or disc between each menu item, displayed horizontally across the header. My goal is to eliminate this dot.

Unfortunately, I do not have direct access to the CSS code as it seems to be a wordpress.com site (I have primarily worked with self-hosted WordPress sites in the past). If I did have access, I would share the code for reference.

While I can inspect elements from the user/browser side, I have been unsuccessful in pinpointing which CSS declaration is responsible for generating the dot/disc. This makes it challenging to know where to apply the following declarations:

list-style-type: none;
list-style-image: none;

If anyone could kindly examine the site from the front end and advise me on which CSS property requires customization using these declarations, I would greatly appreciate it.

Thank you.

Answer №1

To achieve the desired effect, simply include this CSS:

.nav-menu > li > a::before {
    content: "";
}

The dot is being created by the following CSS:

.nav-menu > li > a::before {
    color: #fff;
    content: " •";
    margin-right: 1em;
    opacity: 0.15;
}

Answer №2

This piece of code is sourced from the CSS snippet provided below:

.nav-menu > li > a:before {
 color: #fff;
 content: ' \2022';
 margin-right: 1em;
 opacity: .15;
}

Answer №3

Description

The reason why your code is not working is because there is no dot in the ul. The menu anchors utilize a before selector, which adds a dot before each anchor.

Take a look at this example

q::before { 
  content: "«";
  color: blue;
}
q::after { 
  content: "»";
  color: red;
}
<q> This demonstrates how before and after operate </q>

Examine li > a:before

Resolution

Add this to your CSS

.nav-menu > li > a::before {
  content: "";
}

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

various types of font colors within the text box

If I have a text box with the content "eg. 'one'" Can I set the font color of "eg." to color:black and "'one'" to color:red? Below is the HTML code: <asp:TextBox ID="TextBox1" runat="server" AutoPostBack="true" Text="eg.-one"> ...

Reordering Divs in Bootstrap 3 Specifically for Small Screens

Just getting started with my first responsive design project, and I'm wondering if it's possible to achieve something like this using Bootstrap 3. The goal is to switch from the current layout: https://i.stack.imgur.com/lABXp.jpg To https://i. ...

What orientation is best for the back arrow to take in a website written in Arabic?

Currently developing a website that supports Arabic language while considering security measures. The browser's back button will terminate the session, requiring users to utilize the on-page back button instead. When incorporating Arabic text, should ...

What causes an empty list to be displayed when utilizing the 'is True' condition in my code?

After running the code without the 'is True' code in the elif statement, the correct list is generated. However, upon adding it, an empty list is displayed. I also attempted to compare the if statement to the boolean True, but that approach faile ...

Creating a menu header similar to Gmail's design is a great way to

How can I create a fixed menu similar to the one in Gmail? I've attempted using CSS, but the div remains centered instead of sliding up on scroll like the Gmail menu. View in full-size image I've experimented with CSS properties, here's an ...

Accessing deeply nested JSON objects in AngularJS

I've been working on an AngularJS single page application and I have successfully fetched files from a JSON. var app = angular.module("MyApp", []); app.controller("TodoCtrl", function($scope, $http) { $http.get('todos.json'). success ...

My HTML and CSS design is not displaying correctly on mobile devices

Currently, I am in the process of utilizing a free website template. However, I am facing an issue with adjusting the background image. Is there anyone who can provide some guidance on resolving this particular problem? I would be happy to share the code ...

saving information to a MySQL database after receiving data through HTML forms

I'm currently facing an issue with referencing the database to store new user information on my website. Below is an example of the HTML and PHP form we are utilizing: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/htm ...

How to insert additional spacing within an input tag class in dynamic HTML using jQuery

When creating an html table dynamically from json data, I encountered an issue with adding space inside my input button control. It seems that after separating two classes with a space, the code is not functioning properly in this snippet environment. Howe ...

Python - Assigning Values in a Nested Array

Check out the function below: def adjust_values(self,index1, index2, val): print('Adjusting values with index1 : ' + str(index1) + ' , index2 : ' + str(index2) + ' and value : ' + str(val)) print(self.values) self ...

Looking to subtly transition from the current webpage to the next one with a fading effect?

I'm looking to create a smooth transition between web pages on my site by slowly fading out the current page and fading in the next one when a link is clicked. $(document).ready(function() { $('body').css("display","none"); $(&a ...

Applying the active state to the link will cause it to inherit the default styles of the

I am facing a challenge with overriding the active style of links in a universal manner, to restore them to their original state when they cannot be interacted with (such as during scrolling). In my current code, I implemented this: .scrolling a:active { ...

Troubleshooting problem with SVG icons not highlighting correctly when clicked on mobile devices

I recently incorporated SVG icons into my website. However, when I tap on them using a mobile browser, the browser highlights the icon. Is there a way to disable this highlighting effect? Example: highlight Code: <div class="ictg-before"> <svg ...

What is the best way to extract sequential listings metadata when all the tags are the same?

I am struggling to extract the metadata from the postings (green buttons & brown buttons) displayed in the image highlighted in red below. https://i.sstatic.net/0HC2P.jpg Within the HTML tags, both green and brown button metadata are located under the sa ...

Using ReactJS to capture keydown events from an iframe

I am trying to implement keydown event handling for an iframe within a ReactJS component. The iframe contains an embedded video, and I want to be able to capture keyboard events while the video is playing. Can someone please assist me with how to achieve ...

Changes in content result in modifications to the size of transition elements

Have you ever encountered a button with changing text upon being pressed? The transition in text leads to a shift in the button's width. Wouldn't it be amazing if one could smoothly transition the change in width of an element using a code snippe ...

Modifying the image height in a column using Bootstrap and JSON data

My webpage is dynamically generating images from a JSON file through a JavaScript file. However, the images are displaying at different heights, and I want each column to adjust to the height of the image to eliminate any gaps. Particularly, data with the ...

CSS: Have you ever wondered why :not() doesn't work unless you specify the tag type?

Here's the code I'm working with: * { font-size: 30px; } .day { color: gray; } .today { color: blue; } :not(.today) .date { color: orange; } <span class="day">Tuesday<span class="date"> • 4</span></span> &l ...

What is causing React Js to fail loading css when switching from anchor tag to link tag?

I am learning React and experimenting with creating a basic static website using HTML templates in version ^18.2.0 of React JS. Everything seems to be functioning correctly, however, I have encountered an issue with page refresh. Specifically, when I repla ...

Is there a way to activate a click event on a particular child element within a parent element?

When attempting to click on a specific descendant of an element, I located the ancestor using ng-class since it lacked an id. yes = document.querySelectorAll('[ng-controller = "inventoryController"]') Having found the desired ancestor, ...