Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS HTML Cant click on links

I have this page here: http://artendijen.com/product/animals-stream/ and there are links on the right side, however I can't click on them...does anyone know why?

Left Side:

<nav class="woocommerce-breadcrumb" itemprop="breadcrumb"><a class="home" href="http://artendijen.com">Home</a> / <a class="home" href="/shop">Gallery &amp; Shopping</a> / <a href="http://artendijen.com/product-category/small/#108">Small</a> / Animals by the Stream</nav>

Right Side:

<ul style="float:right;" class="shoppingBread"><li><a href="/product-category/prints-notecards">Prints &amp; Notecards</a></li><li><a href="/product-category/background-information">Background Information</a></li><li><a href="/cart">Cart</a></li></ul>`

CSS for left side:

.woocommerce .woocommerce-breadcrumb, .woocommerce-page .woocommerce-breadcrumb {
    float: left;
    z-index: 99999;
    position: relative;
    margin: 0 0 1em;
    padding: 0;
    font-size: .92em;
    color: #777;
}

CSS for right side is just float right, but here is the CSS for the list items on the right side:

.shoppingBread li {
    padding-bottom: 5px;
    text-align: right;
}
like image 798
user1269625 Avatar asked Nov 27 '13 19:11

user1269625


People also ask

Why link is not clickable in HTML?

Your issue lies in the fact you haven't provided an valid HREF. Try using href="#" instead of href="". Hope that helps . Even with an empty <a href=""> it still activates a mouse pointer when you hover on it.

Why I cant click on a link?

Most likely problems with opening hyperlinks are connected with either the security restrictions of your Internet browser that doesn't allow opening pop-up windows, or with your Flash player plug-in that prevents you from opening URLs in local Flash files.

Can CSS disable links?

To disable a link using CSS, pointer-events property can be used, which sets whether the element in the page has to respond or not while clicking on elements. The pointer-events property is used to specify whether element show to pointer events and whether not show on the pointer.

How do I enable links in HTML?

To make a hyperlink in an HTML page, use the <a> and </a> tags, which are the tags used to define the links. The <a> tag indicates where the hyperlink starts and the </a> tag indicates where it ends. Whatever text gets added inside these tags, will work as a hyperlink. Add the URL for the link in the <a href=” ”>.


2 Answers

The list:

<ul style="float:right;" class="shoppingBread"><li><a href="/product-category/prints-notecards">Prints &amp; Notecards</a></li><li><a href="/product-category/background-information">Background Information</a></li></ul>

is being covered by a div that comes after it. Add the following CSS to your list and it will be clickable:

position: relative;
z-index: 1;

OR, you can just clear the div that comes after the list:

<div itemscope="" itemtype="http://schema.org/Product" id="product-108" class="post-108 product type-product status-publish hentry instock">

by adding clear: both;

like image 53
j08691 Avatar answered Sep 22 '22 21:09

j08691


Remove the following from your css:

.woocommerce div.product, .woocommerce-page div.product, .woocommerce #content div.product, .woocommerce-page #content div.product {

    position: relative;  ///Remove this 
} 
like image 41
Ani Avatar answered Sep 22 '22 21:09

Ani