Gallery environment - disable share icon

info116
21 Posts
info116 posted this 29 November 2021
Ask a Question

Hi
Is it possible to deactivate the share buttons in the gallery environment?
Thanks, Markus

Hi Is it possible to deactivate the share buttons in the gallery environment? Thanks, Markus
Vote to pay developers attention to this features or issue.
18 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 29 November 2021

Hello Markus,

Thanks for using Nicepage!
Could you tell me exactly what icon you are talking about so we could help you.
...................................................
Sincerely,
Negat Veri
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Markus, Thanks for using Nicepage! Could you tell me exactly what icon you are talking about so we could help you. ................................................... Sincerely, Negat Veri Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
info116
21 Posts
info116 posted this 29 November 2021

Thanks for getting back so fast - here is the screenshot from the upper right corner of the gallery.
Our customer would like to deactivate the share button.
Best Markus

Thanks for getting back so fast - here is the screenshot from the upper right corner of the gallery. Our customer would like to deactivate the share button. Best Markus
Support Team
Support Team posted this 29 November 2021

Hi Markus,

We are sorry to say, but the lightbox option goes with the share button as default. Unfortunately, there are no options to disable it in the builder, we could only suggest deleting or commenting on the corresponding block manually.
You could find the share button here in the code

enter image description here

We will definitely add such a feature to our wishlist.
...................................................
Sincerely,
Negat Veri
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Markus, We are sorry to say, but the lightbox option goes with the share button as default. Unfortunately, there are no options to disable it in the builder, we could only suggest deleting or commenting on the corresponding block manually. You could find the share button here in the code ![enter image description here][1] We will definitely add such a feature to our wishlist. ................................................... Sincerely, Negat Veri Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp [1]: https://i.postimg.cc/8CTck9rk/image.png
info116
21 Posts
info116 posted this 29 November 2021

Thanks Negat Veri
Where can I find the corresponding file?
BR, Markus

Thanks Negat Veri Where can I find the corresponding file? BR, Markus
Support Team
Support Team posted this 29 November 2021

Markus,

Please tell us which export method do you use?
...................................................
Sincerely,
Negat Veri
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Markus, Please tell us which export method do you use? ................................................... Sincerely, Negat Veri Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
info116
21 Posts
info116 posted this 29 November 2021

I am using the Joomla-Pagebuilder

I am using the Joomla-Pagebuilder
Support Team
Support Team posted this 30 November 2021

Hello Markus,

You could find this code during export from Nicepage Desktop before import into Joomla.
Please check your folder with the exported project and find CSS file with name template.css
Then you should find the classes mentioned by me before.
...................................................
Sincerely,
Negat Veri
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Markus, You could find this code during export from Nicepage Desktop before import into Joomla. Please check your folder with the exported project and find CSS file with name template.css Then you should find the classes mentioned by me before. ................................................... Sincerely, Negat Veri Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
info116
21 Posts
info116 posted this 30 November 2021

Hmmm - thanks for the reply but I cannot find it there. template.css attached
Best, Markus

Hmmm - thanks for the reply but I cannot find it there. template.css attached Best, Markus
Support Team
Support Team posted this 30 November 2021

Hi Markus,

You can try to get rid of it with a simpler method. Try to add the following code under the Site Settings >> CSS tab before exporting the theme:

.pswp__share-modal
{
display:none!important;
}

If that does not work, provide a link to the page where we could see the lightbox.
...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Markus, You can try to get rid of it with a simpler method. Try to add the following code under the Site Settings >> CSS tab before exporting the theme: .pswp__share-modal { display:none!important; } If that does not work, provide a link to the page where we could see the lightbox. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
info116
21 Posts
info116 posted this 30 November 2021

Thanks Hella
Since I am hesitating exporting the theme once again - I have worked on the site mainly within the Joomla environment - I prefer sending you the site link: https://cpc-photo.ch/index.php/portfolios

Thanks for your help!
Best, Markus

Thanks Hella Since I am hesitating exporting the theme once again - I have worked on the site mainly within the Joomla environment - I prefer sending you the site link: https://cpc-photo.ch/index.php/portfolios Thanks for your help! Best, Markus
Support Team
Support Team posted this 01 December 2021

Hi Markus,

This code should help:

.pswp__button--share {
    display: none;
}

But you still need to add t inside the CSS file. If you do not want to export the theme once again, then you can manually add it in the end of the nicepage.css file on your site. Or in the theme CSS file that is activated on your site.
...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Markus, This code should help: .pswp__button--share { display: none; } But you still need to add t inside the CSS file. If you do not want to export the theme once again, then you can manually add it in the end of the nicepage.css file on your site. Or in the theme CSS file that is activated on your site. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
info116
21 Posts
info116 posted this 01 December 2021

Thanks Hella
It has just almost killed the whole site.
I have tried inserting it in the css-styles - but it did not work.
Then I have entered it in the CSS box of the corresponding page.
There it worked but it has destroyed all the rest.
I have finally been able to recover most of the things but there are two pages not showing the correct header anymore.
The menu has gone and the logo has been squeezed...

https://cpc-photo.ch/index.php/angebot
https://cpc-photo.ch/index.php/kontakt

I have tried to restore these pages but I was not succesfull so far. What shall I do now?
Thanks for your quick support
Markus

Thanks Hella It has just almost killed the whole site. I have tried inserting it in the css-styles - but it did not work. Then I have entered it in the CSS box of the corresponding page. There it worked but it has destroyed all the rest. I have finally been able to recover most of the things but there are two pages not showing the correct header anymore. The menu has gone and the logo has been squeezed... https://cpc-photo.ch/index.php/angebot https://cpc-photo.ch/index.php/kontakt I have tried to restore these pages but I was not succesfull so far. What shall I do now? Thanks for your quick support Markus
info116
21 Posts
info116 posted this 01 December 2021

Hi Hella
I was able to restablish the website from a backup. Glad it works in Joomla 4 too.
I copied the code into the addidtional CSS tab for thw whole sit - and it works now.

However, now I see that the debug icon on the lower left is linked to showing the menu icon in the top bar.
If I disable the debug module, the icon is gone - but the menu icon is gone in two pages as well...

Thanks for your help - guess that this is a bug related to Nicepage.
Markus

Hi Hella I was able to restablish the website from a backup. Glad it works in Joomla 4 too. I copied the code into the addidtional CSS tab for thw whole sit - and it works now. However, now I see that the debug icon on the lower left is linked to showing the menu icon in the top bar. If I disable the debug module, the icon is gone - but the menu icon is gone in two pages as well... Thanks for your help - guess that this is a bug related to Nicepage. Markus
Support Team
Support Team posted this 03 December 2021

Hi Markus,

According to one of your topics, the issue with the menu is now solved.
Please let us know if you need our further assistance.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Markus, According to one of your topics, the issue with the menu is now solved. Please let us know if you need our further assistance. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
info116
21 Posts
info116 posted this 03 December 2021

Thanks Olivia
For the moment things look fine. As for JQuery - does it have to be active all the time or mainly on importing?
BR, Markus

Thanks Olivia For the moment things look fine. As for JQuery - does it have to be active all the time or mainly on importing? BR, Markus
Support Team
Support Team posted this 06 December 2021

Hi Markus,

It should be active all the time. We added this option for cases when another CMS extension loads jquery on the page. In this case, two scripts may cause conflicts. To avoid this, Nicepage jquery can be disabled.
Please let us know if you have any further questions.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Markus, It should be active all the time. We added this option for cases when another CMS extension loads jquery on the page. In this case, two scripts may cause conflicts. To avoid this, Nicepage jquery can be disabled. Please let us know if you have any further questions. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
info116
21 Posts
info116 posted this 06 December 2021

Thanks Olivia
The page 404 is still pending but for the rest things should work now.
Best, Markus

Thanks Olivia The page 404 is still pending but for the rest things should work now. Best, Markus
Support Team
Support Team posted this 07 December 2021

Hello Markus,

Thanks for your reply, if any other questions will appear please contact us!
...................................................
Sincerely,
Negat Veri
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Markus, Thanks for your reply, if any other questions will appear please contact us! ................................................... Sincerely, Negat Veri Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp

Last edited 07 December 2021 by Support Team

You must log in or register to leave comments