Jump to content

Archived

This topic is now archived and is closed to further replies.

John Olsson

Disable image link on pages

Recommended Posts

John Olsson

Hi!

 

I'm looking for a way to disable the default link on images in a single page in DMS2. But can't find out how?

 

The link is to the same url that the image is on itself. Don't really get why this is default?

 

Any ideas? Tried a lot of script in functions.php but nothing will affect it on single page image links.

Share this post


Link to post
Share on other sites
John Olsson

I'd knew that would come....  :geek:

 

Ok.. the Featured image OFC! :)

Share this post


Link to post
Share on other sites
Danny

You will need to ask this question on the WordPress support forums, as it is related to a WordPress function.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
John Olsson

Solved it trough css, even if this is not the right forum.. :)

 

Target the feat. image and set: pointer-events:none;

Share this post


Link to post
Share on other sites
Danny

Thanks for informing us the issue has been resolved.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Kedark
      By Kedark+
      Hello,
      I apologize for the trivial question, but I can not deal with it. How do I turn off the display of a distinctive image on the page? (I have to add it because I use plugins that use it), but as I display the page, I do not want it to be visible (and appears above the subject.).
      Probably a cliché but I can not deal with it. Therefore, a request for help.
      Regards
      RKA
    • mtaus
      By mtaus+
      I have added a Lax section on the footer of this site: http://www.ics-law.org.php72-38.lan3-1.websitetestlink.com/ but the background image is not displaying. When I first add the image it appears in the background, but then after saving and reloading it is gone even though the thumbnail indicates it's still there. Screenshot attached.
      Any suggestions?

    • mtaus
      By mtaus+
      I'm trying to add a Careers page to a site to display job openings. The plan is to create a Post using a subcategory 'Careers' and then display those on the page. All of the post sections in PL seem to include images and there's no obvious way to remove them or include an excerpt from the post. 
      Any suggestions?
    • chamois_blanc
      By chamois_blanc+
      Hello,
      Shouldn't the image PL5 component be using the srcset/picture css directives to pick the correct size for an image? or it does already and I don't know how to use it? Thank you for any advice or enlightenment.
    • greatthingsllc
      By greatthingsllc+
      In Platform 5, Using Framework Section for Content , I have set the hyperlink colors in the CUSTOMIZE section.   However, none of the pages are properly displaying the link colors.   Just defaulting to black, and underline on hover.   I did not see where this would be controlled at the page level or lower
      Site    doritbrauer.com
      Thanks
      Josh

×