I am trying to change the <a href> link of "signup.php" to go from just being on the word NOW, to the whole <div>, so when a user hovers over anything inside of that div, the link will work:
HTML:
<div class="row">
<div class="grid-full containerHomepage">
<div class="centered">SIGN UP TO HEAD SMART<a class="noDecoration brain" href="signup.php"> NOW</a>
<img src="images/HeadSmart.png" width="50" height="60"/>
</div>
</div>
</div>
<a class="noDecoration brain" href="signup.php">
<div class="centered">SIGN UP TO HEAD SMART NOW
<img src="images/HeadSmart.png" width="50" height="60"/>
</div>
</a>
You can use onclick with javascript:-
<div onclick="location.href='signup.php';" class="centered">SIGN UP TO HEAD SMART NOW
<img src="images/HeadSmart.png" width="50" height="60"/>
</div>
Just style the anchor - (and move the nice icon to the left) ;)
.containerHomepage a { display:block}
.noDecoration { text-decoration: none }
<div class="row">
<div class="grid-full containerHomepage">
<a href="signup.php" class="centered noDecoration brain">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAABL1BMVEX////hAE77/v/mAE7//v/iAEjjAE7baYrgAEPlAELZAETiqrvrp7veAU7nma/5///+6PHwx9Tz////+//acpHeAEnpAE7hLmfZBE7ibZDjjqfz1uH14OjYAD/vy9jhTnvdPGnggJvSH1rUAEPaYIT/+P/47vbcAEPROWrnAEj26PDeG1XcHl/mAETvAE7z1uPaWn7utsbbADvVDVPNAD7itcbm///hp7vemrPowcvpAD/UhqDwAEjMAEHSADjfQXHUfJf/3+/DJle/XHj10N3RTXv/8f3cxc7SWHvLPXHHE1jspL/q8PPhjKLVn7Lei6zIACjheJfJKmXWrLzDeZLxtM7Jb4zhADC7UXjzjq3qf6DRRmzvv9TGDU7xm7Pe2t/0AD/qUHvkaIjEhprlOGQ4Usz8AAAgAElEQVR4nO19C1/bONa3LF9wAkIgY6OSOIE4duKUXIibJoRrO9Dptmw77G7bZ4cwuzvvfP/P8J4jJyGhMEMhBWZ+nOkA8S36+0g6Vx0R8kRP9ERP9ERPdAeilPOHbsN1ZBgGdxzOjTs9hTqd9/O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los78uY8l/DJykYvZ+X4fEXHyZuuwPHe6EGH1jFsH6x8xOYYYMg53H37YtjzREz3REz3RX5z+P25JYhziyzk9AAAAAElFTkSuQmCC" width="50" height="60"/>
SIGN UP TO HEAD SMART NOW
</a>
</div>
</div>
Related
Screenshot: Small line appearing between footer images
No matter what I do to the HTML and CSS, this little underline or underscore (see image) is appearing between the images in my footer. It's blue, so it looks like it may be part of the link somehow (even though I changed the color and decoration of links in the CSS). If I remove either image, it disappears. If the images stack on top of each other (e.g., if I make them block level), it disappears. I want both images sitting next to each other, though.
I've tried the following:
Using vanilla CSS and Bootstrap
Restructuring the footer HTML Putting a text-decoration:none rule on the links
Putting a text-decoration:none rule on the links
Putting a box-shadow:none rule on the links (as suggested in this StackOverflow post)
Here's the footer HTML:
<div id="footer" class="row py-3">
<div id="site-copyright" class="col-7">
<small>© ABCDEFG, 2022</small>
</div>
<div id="footer-contact" class="col-5">
<a href="mailto:exampleABCDEFG#outlook.com">
<img src="https://via.placeholder.com/25" alt="email me">
</a>
<a href="https://www.linkedin.com/in/ExampleABCDEFG">
<img src="https://via.placeholder.com/25" alt="visit LinkedIn profile">
</a>
</div>
</div>
just add text-decoration:none to your <a> tags. Much more helpful when you supply a working snippet
a{
text-decoration:none;
}
<div id="footer" class="row py-3">
<div id="site-copyright" class="col-7">
<small>© ABCDEFG, 2022</small>
</div>
<div id="footer-contact" class="col-5">
<a href="mailto:exampleABCDEFG#outlook.com">
<img src="https://via.placeholder.com/25" alt="email me">
</a>
<a href="https://www.linkedin.com/in/ExampleABCDEFG">
<img src="https://via.placeholder.com/25" alt="visit LinkedIn profile">
</a>
</div>
</div>
It doesn't happen here when I add display:inline-block. As a general rule, don't trust inline styles. Use your own float and margin when you need to.
#footer-contact a {
display: inline-block;
}
<div id="footer" class="row py-3">
<div id="site-copyright" class="col-7">
<small>© ABCDEFG, 2022</small>
</div>
<div id="footer-contact" class="col-5">
<a href="mailto:exampleABCDEFG#outlook.com">
<img src="https://picsum.photos/id/237/200/80" alt="email me">
</a>
<a href="https://www.linkedin.com/in/ExampleABCDEFG">
<img src="https://picsum.photos/id/137/200/80" alt="visit LinkedIn profile">
</a>
</div>
<div id="footer-contact2" class="col-5">
<a href="mailto:exampleABCDEFG#outlook.com">
<img src="https://picsum.photos/id/237/200/80" alt="email me">
</a>
<a href="https://www.linkedin.com/in/ExampleABCDEFG">
<img src="https://picsum.photos/id/137/200/80" alt="visit LinkedIn profile">
</a>
</div>
</div>
I could've helped better if I had more of your code. But, from what you've told, I think it has something to do with footer-contact div. Try removing its border, background, box-shadow etc.
How can the picture be taken behind the ''top pick'' text?
The problem: https://iili.io/VQKa0F.jpg
Page which has the problem: https://awet123.blogspot.com/2022/04/testing-all-required-boxes-for-niche.html
Wrong place of .cg-our-top-pick. You should replace it to position after .cg-li-photo
Bad:
<div class="cg-layout-img">
<div class="cg-our-top-pick">TOP PICK</div>
<div class="cg-li-photo">
<a class="cg-aff-link" href="https://www.amazon.com/dp/B01M12RE4A?tag=kitlit-20&linkCode=ogi&th=1&psc=1" rel="nofollow noopener" target="_blank">
<img alt="Goxawee Cordless Drill Screwdriver" class="cg-img-1" src="https://m.media-amazon.com/images/I/413Spl-3a0L.jpg" loading="lazy" />
</a>
</div>
<div class="cg-li-ratebadge">
<div class="cg-rate"><span>9.4/10</span> <span>Our Score</span></div>
</div>
</div>
Good:
<div class="cg-layout-img">
<div class="cg-li-photo">
<a class="cg-aff-link" href="https://www.amazon.com/dp/B01M12RE4A?tag=kitlit-20&linkCode=ogi&th=1&psc=1" rel="nofollow noopener" target="_blank">
<img alt="Goxawee Cordless Drill Screwdriver" class="cg-img-1" src="https://m.media-amazon.com/images/I/413Spl-3a0L.jpg" loading="lazy" />
</a>
</div>
<div class="cg-our-top-pick">TOP PICK</div>
<div class="cg-li-ratebadge">
<div class="cg-rate"><span>9.4/10</span> <span>Our Score</span></div>
</div>
</div>
Result:
I have an html page that contains "links" to many sections of the page. I'm using a single page layout where if a link is clicked, you are not actually taken to a new page. Instead you are taken to the section of the page that you clicked on in the nav bar. I have a section for 6 images, each with a caption. I need the images to be in 2 rows with 3 images per row without using a table.(each image with its caption underneath) But I also need them to be responsive, so if the size of the browser is minimized then the images stack up on each other (caption still there). I tried using padding and margins but I wasn't able to get it to work so I don't have any CSS to post but I do have my HTML code. Can someone please help me out? Here is my code:
<div class="allimagesgallery">
<a href="images/image1.jpg">
<img id="galleryimages" src="images/image1.jpg">
</a>
<div class="caption">CAPTION.</div>
<a href="images/image2.jpeg">
<img id="galleryimages" src="images/image2.jpeg">
</a>
<div class="caption"> CAPTION </div>
<a href="images/image3.jpg">
<img id="galleryimages" src="images/image3.jpg">
</a>
<div class="caption"> CAPTION </div>
<a href="images/image4.jpg">
<img id="galleryimages" src="images/image4.jpg">
</a>
<div class="caption">CAPTION</div>
<a href="images/image5.jpeg">
<img id="galleryimages" src="images/image5.jpeg">
</a>
<div class="caption"> CAPTION </div>
<a href="images/image6.jpeg">
<img id="galleryimages" src="images/image6.jpeg">
</a>
<div class="caption"> CAPTION </div>
</div>
</div>
it would help us if we knew what your css in "allimagesgallery" looked like.
A little reformatting like the code below might help:
/*-----css---------*/
.imagesgalleryrow img{
display: inline-block;
}
<!-- /// HTML \\\ -->
<div class="allimagesgallery">
<div class="imagesgalleryrow">
<a href="images/image1.jpg">
<img id="galleryimages" src="images/image1.jpg">
</a>
<div class="caption"> CAPTION </div>
<a href="images/image2.jpeg">
<img id="galleryimages" src="images/image2.jpeg">
</a>
<div class="caption"> CAPTION </div>
<a href="images/image3.jpg">
<img id="galleryimages" src="images/image3.jpg">
</a>
<div class="caption"> CAPTION </div>
</div>
<div class="imagesgalleryrow">
<a href="images/image1.jpg">
<img id="galleryimages" src="images/image1.jpg">
</a>
<div class="caption"> CAPTION </div>
<a href="images/image2.jpeg">
<img id="galleryimages" src="images/image2.jpeg">
</a>
<div class="caption"> CAPTION </div>
<a href="images/image3.jpg">
<img id="galleryimages" src="images/image3.jpg">
</a>
<div class="caption"> CAPTION </div>
</div>
<div class="imagesgalleryrow">
<a href="images/image1.jpg">
<img id="galleryimages" src="images/image1.jpg">
</a>
<div class="caption"> CAPTION </div>
<a href="images/image2.jpeg">
<img id="galleryimages" src="images/image2.jpeg">
</a>
<div class="caption"> CAPTION </div>
<a href="images/image3.jpg">
<img id="galleryimages" src="images/image3.jpg">
</a>
<div class="caption"> CAPTION </div>
</div>
</div>
I'm trying to select title with CSS selector.
This is my css
.category-center :nth-last-child(-n+2) {
color: red;
}
<div class="category-center">
<div class="cbp-item-wrapper">
<div class="post-medias">
<a href="" target="_blank">
<img src="#" alt="">
</a>
</div>
<div class="post-info">
<h4 class="post-title">
This is awesome title
</h4>
</div>
</div>
</div>
Can somebody help me with this?
You can use .category-center .post-title a. It will target the <a> element which is inside the element with class post-title which is inside category-center element.
You could even use .post-title a but it will break the hierarchy of CSS which you already have for elements inside .category-center. Also, it will tightly bound the HTML with CSS so when in future if you place the HTML outside of .category-center then the styles will not apply and you will know that something is going wrong with that action.
.category-center .post-title a {
color: red;
}
<div class="category-center">
<div class="cbp-item-wrapper">
<div class="post-medias">
<a href="" target="_blank">
<img src="#" alt="">
</a>
</div>
<div class="post-info">
<h4 class="post-title">This is awesome title</h4>
</div>
</div>
<div class="cbp-item-wrapper">
<div class="post-medias">
<a href="" target="_blank">
<img src="#" alt="">
</a>
</div>
<div class="post-info">
<h4 class="post-title">This is awesome title</h4>
</div>
</div>
<div class="cbp-item-wrapper">
<div class="post-medias">
<a href="" target="_blank">
<img src="#" alt="">
</a>
</div>
<div class="post-info">
<h4 class="post-title">This is awesome title</h4>
</div>
</div>
</div>
Just target the class rather than going specific numnber of children in, as this means if you change your page redesign slightly, it will no longer work.
You can either put a class on your a tag, or target any a tag, on your h4 class, as below.
.post-title a {
color: red;
}
<div class="category-center">
<div class="cbp-item-wrapper">
<div class="post-medias">
<a href="" target="_blank">
<img src="#" alt="">
</a>
</div>
<div class="post-info">
<h4 class="post-title">This is awesome title</h4>
</div>
</div>
</div>
I'm a graphic design student, I am trying to do my portfolio, however not sure how to add a hyperlink to an icon that appears when you hover your mouse over a portfolio item. The item in code reads as div class="hoverIconChain"
<div class="portfolio-item html android">
<a href="portfolio-item-detail-page.html" class="animatedImage3">
<img src="images/portfolio02.jpg" alt="Portfolio 02">
<div class="hoverWrapperBg"></div>
<div class="hoverWrapper">
<div class="hoverIconChain"></div>
<div class="hoverIconHeart"></div>
<div class="hoverBottom">
<div class="hoverBottomText">Real Gamers Network</div>
<div class="hoverBottomLike"> 63 </div>
</div>
</div>
</a>
</div>
Delete the ending a tag from the bottom of your code, and move it after image.
<a href="portfolio-item-detail-page.html" class="animatedImage3">
<img src="images/portfolio02.jpg" alt="Portfolio 02">
</a>
To add a hyperlink to a div, just do it like this.
<a href="http://google.com">
<div class="hoverIconChain"></div>
</a>