WordPress.org

Forums

Pinboard
[resolved] How to remove links in the slider? (5 posts)

  1. ErinRose
    Member
    Posted 1 year ago #

    Is there a way to remove the links on the images in the slider? My images are banner ads that lead to empty posts. :( I have the slider posts hidden from other areas of the site, but they can still be reached by clicking on the slider.

    Here's my site: http://www.erinholmberg.com/

    Ideally, there would be some custom CSS code I could put in the Appearance > Theme Options > Layout > Custom CSS

    Thank you!

  2. Hestati
    Member
    Posted 1 year ago #

    you need to change the html since you want to get rid of the link element.


    <img width="800" height="276" src="http://www.erinholmberg.com/wp-content/uploads/2013/05/Slider_orangeclipart_800pxlwide_tandem.jpg" class="attachment-slider-thumb wp-post-image" alt="Slider_orangeclipart_800pxlwide_tandem">

    this is the piece of code you want to adjust.

    Btw your website looks nice! ;)

    Karim

  3. ErinRose
    Member
    Posted 1 year ago #

    Thank you, Karim! I'll give it a try.

    For now, I redirected the links to the home page. ;)

  4. ErinRose
    Member
    Posted 1 year ago #

    Resolved

  5. 10eke
    Member
    Posted 1 year ago #

    Where can I adjust that HTML code?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic