Certain links within the list are unresponsive to clicks

Just starting out with html, so please bear with me as I'm still learning...

I've added a list of links to my WordPress page, but for some reason, the first few are not clickable. They appear fine here, but once on my page, they stop working.

Here is the part of my HTML causing the issue:

.parent {
  text-align: left;
}
.parent > ul {
  display: inline-block;
}
<div class="parent" style="text-align: left; margin-left:0 auto; margin-right:0 auto; position: relative; top: +0px; right: 10px;">
<ul style= "font-size: 20px;">Public Open Sessions:
<li style="font-size: 16px;"><a href="http://shopkts.com/collections/training/products/3-day-uem-public-open-session-april-11" target="_blank" !important>April 11-13, Mississauga, Canada</a></li> 
<li style="font-size: 16px;"><a href="http://shopkts.com/collections/training/products/3-day-uem-public-open-session-april-18" target="_blank">April 18-20, Atlanta, USA</a></li>
<li style="font-size: 16px;"><a href="http://shopkts.com/collections/training/products/3-day-uem-public-open-session-april-25" target="_blank">April 25-27, Calgary, Canada</a></li>
<li style="font-size: 16px;"><a href="http://shopkts.com/collections/training/products/3-day-uem-public-open-session-may-2" target="_blank">May 2-4, Vancouver, Canada</a></li>
<li style="font-size: 16px;"><a href="http://shopkts.com/collections/training/products/3-day-uem-public-open-session-may-9" target="_blank">May 9-11, Philadelphia, USA</a></li>
<li style="font-size: 16px;"><a href="http://shopkts.com/collections/training/products/3-day-uem-public-open-session-may-16" target="_blank">May 16-18, Washington, DC, USA</a></li>
<li = style="font-size: 16px;"><a href="http://shopkts.com/collections/training/products/3-day-uem-public-open-session-may-23" target="_blank">May 23-25, Dallas, USA</a></li>
</ul>
...

Seems like the first 3 links don't work while the next 4 do. Moving it around the page makes them suddenly work. Could there be something else affecting it?

Below you will find the full html code:

.parent {
  text-align: left;
}
.parent > ul {
  display: inline-block;
}
<p style="text-align: center; font-size: 40px; color: black"> BlackBerry Open Sessions</p>
<p style="text-align: left;"><img class="alignnone size-full wp-image-1950" src="http://www.ktsglobal.ca/wp-content/uploads/2016/06/ps-1-e1478718264230.png" alt="ps" width="1766" height="569" /></p>
&nbsp;
<p style="text-align: left; line-height:2px">Our public open sessions consists of instructor-led training and hands-on virtual labs. Participants will learn to Plan, Deploy and Manage BlackBerry UEM or BES12</p>
<p style="text-align: left; line-height:2px">with one of our certified instructors. Make sure to check back regularily to see our updated list of events.</p>
...

It might look messy, but trust me, it functions correctly on the page.

Follow this link to access the page

Any assistance would be highly appreciated, thank you in advance!

Answer №1

Looks like I may have discovered the solution. Give this a try:

.container {
    overflow: hidden;
}

The issue seems to be that your second "container" div is overlapping the links. While this approach is quite straightforward and may not be the most optimal, it should resolve the problem for now.

Answer №2

After testing it out, everything seemed to be functioning properly, even when I accessed your linked webpage. No issues were spotted. However, I did notice a potential error in the final <li>

<li = style="font-size: 16px;">

The correct format should be:

<li style="font-size: 16px;">

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

Navigating URLs in various Android browsers: Tips and Tricks

I am on a quest to find a method to engage with various android browsers. My goal is to retrieve the URL of the website being viewed by the browser. I want my app to operate in the background and issue an alert when a designated URL is accessed, primarily ...

Hovering over the Bootstrap menu to activate clickable options

I have made modifications to the bootstrap navigation using jQuery so that instead of clicking, you can simply hover to enable the dropdown menu. However, I am facing an issue where the first menu option is not clickable. For example, currently the "BLOG" ...

Tips for toggling password visibility by clicking outside a password field

As I work on creating a password field that allows users to toggle the visibility of their password by clicking an eye icon, I am facing a challenge. I want the password to be hidden automatically when the user clicks outside the field, which requires a co ...

Media query causing margin on previous div due to padding on following div

Currently experimenting with media queries and trying to make my tags span 100% the width of the device. However, I'm noticing a margin on the right side of my image. I suspect it's due to the padding on the div above, as when I set the padding t ...

Which specific CSS attributes should be applied to create a scroll bar within this table?

Below is the table that I am working with: 'table' I want to ensure that its width remains the same even when the screen size is reduced, and only add a scroll bar to view it. I have already included overflow: scroll; in the container <div> ...

Experience the thrill of success with a timed animation using Sweet Alert on the powerful Ionic framework

I'm currently working with the ionic framework to develop a mobile application. I'd like to incorporate Sweet Alert for displaying success messages. You can find Sweet Alert at . My goal is to include a timer in the success message. swal("Good ...

Display a progress bar in an application to visualize the loading of database records

Within my application, I am accepting a numerical input that is used to generate results on a separate page. The process involves running multiple sequential JDBC queries against Oracle database tables, resulting in a significant delay (1-2 minutes) for th ...

Performing Jquery functions on several elements at once

Looking at the code snippet below, there are two buttons and an input in each container. The input calculates and adds up the number of clicks on the 2 buttons within the same container. However, it currently only works for the first container. How can thi ...

Adjust the font size of the immediate child element that belongs to the fs-5 class

I have implemented a media query specifying the pixel value at which I want to apply a specific font size to all direct child elements (paragraphs) of the div. Within these paragraphs, there is one with the class=fs-5. However, when viewing it responsivel ...

The ineffectiveness of setting width to 0

When I set @media screen and (max-width: 700px), aside {width: 0}, it doesn't disappear. Even after resizing the window, it remains as null space with width: 52px. What could be causing this issue and how can I resolve it? * { margin:0; padding ...

Static element causing z-index conflict

https://jsfiddle.net/0Lfzbzc5/2/ My current challenge involves positioning the notification box on top of the body class div, but I am encountering some difficulties. The logic dictates that positioned elements should be displayed on top of non-positioned ...

Tips on keeping display flex elements confined within a container

My goal is to add two divs to an element. The first div needs to have a fixed height and position. The second div should fill the remaining space, but not exceed it. I have created an example below to illustrate the desired result. #container { border ...

Changing the color of an image with a click event in HTML

My coding dilemma involves two HTML codes: one displaying a table with grey square buttons, and the other featuring the same table but with orange buttons instead. I am looking for a way to change the color of the button from grey to orange when clicked, ...

The reliability of jQuery posting varies

My current setup involves using jQuery to send data to an external source with the code snippet provided below. As part of the process, I'm also ensuring that all input fields are filled out correctly. However, there has been a strange issue where the ...

Can you navigate to HTML files using Vue router?

Hey there! I'm currently utilizing VueJS along with the webpack template. I've got a variety of components that I can easily showcase with Vue Router. However, the testing framework utilized by my team is Robot Framework and we typically create a ...

Using HTML div tags to create a looping expression that can interact with Javascript

Currently, I am working on a Ruby on Rails project and I am facing a challenge with looping variables in an HTML form to reduce the amount of manual code I have to write. However, when I attempt to evaluate an expression in the id attribute, the JavaScript ...

Align the h2 header vertically within a div container

So, here's the HTML structure that I'm working with: <div class="category"> <div class="container bottom"> <h2>Name1</h2> </div> <div class="container top"> <h2>Name2</h2&g ...

Streamlining all icons to a single downward rotation

I am currently managing a large table of "auditpoints", some of which are designated as "automated". When an auditpoint is automated, it is marked with a gear icon in the row. However, each row also receives two other icons: a pencil and a toggle button. W ...

Getting two <div> elements to float below one another can be achieved by utilizing the CSS property "float

Can someone please tell me the trick to floating one element below another on the same side? I want them both to float but be positioned under each other. Thank you in advance. ...

Display solely the initial row in the tbody segment of a table. Is there a method to obscure subsequent 1st rows?

The initial row of each tbody acts as the row header, containing the column names. Subsequent rows in each tbody are unnecessary and should be hidden. Classes utilized: toprowHeader = first row containing column names recordsRow = holds additional recor ...