• Greetings. I have a question.
    While creating or editing an ad the thumbnails have two options , which are Edit and Remove. My client wants that i can disable the edit button.

    https://i.imgur.com/SBI4fNb.png

    Is there a way to hide it through the functions? I looked around the options but i didn’t found something close or I might overlooked it.

    I was considering hiding it through CSS but i wanted to see if hiding it through the component / functions was a better viable option

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    using CSS to hide the edit button is the best way to do that, you can add the code below in wp-admin / Appearance / Customize / Additional CSS panel it should hide the edit button in the frontend.

    
    .adverts-gallery-upload-actions .adverts-button-edit {
        display: none !important;
    }
    
Viewing 1 replies (of 1 total)
  • The topic ‘Gallery – Disable edit button’ is closed to new replies.