Toggle "View" On/Off - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Toggle "View" On/Off

MK

Michael Koerner

Extension 3 years ago

Hello:

I am using the SP Simple Portfolio and so far I am really enjoying it. However, there is one thing that is causing me some frustration...

Is there a way through coding that for certain portfolio items, I can toggle the "View" button off? There are some of my portfolio pieces that I explain why I did certain things in a particular piece and others that I'd like to just have the zoom feature.

Any help with this would be greatly appreciated

Thanks, Michael

0
6 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #77348

Hi Mike,

you can hide that button using more advanced CSS (with one .word more). It's still very easy, becuse each subpage in Joomla have unique class name in < body > class.

1
Ariba
Ariba
Accepted Answer
Support Agent 3 years ago #77306

Hello

Thank you for your query. If you want to just have the Zoom feature, you can use Custom CSS to hide the View button.

.btn-view {display: none !important;}

Hope this helps you.

0
MK
Michael Koerner
Accepted Answer
3 years ago #77332

Hello Ariba:

Thank you for your response... However, I'm looking for something with a little more control. Is there a way to add this on an item by item basis? Some of my pieces will have them and others wont.

I'd even be willing to pay for this feature to be implememented if need be.

Thanks, Michael

0
MK
Michael Koerner
Accepted Answer
3 years ago #77661

Hey Paul:

I really appreciate your input and you may be on to something here... Is there any chance you could please elaborate more? So would I assign the item its own class then add that to the previous class?

Thanks, Michael

0
MK
Michael Koerner
Accepted Answer
3 years ago #77917

Hey Paul:

I was able to figure this out...

Thank you so much for your input as it at least put me on the right track.

I will leave my solution in this thread so that others that may come along can use it. It is below:

[href="/portfolio/5-target-acquired-store-poster"].btn-view {
    display: none !important;
}

Thanks again!

Michael

0
MK
Michael Koerner
Accepted Answer
3 years ago #78042

Hello Paul:

So I may have jumped a little too soon in thinking I solved this problem...

So with my method, it doesn't follow if I have another portfolio location somewhere else in my site.

Is there a way I can make this a little more simplified? I feel like this should be integrated with the extension.

Thanks, Michael

0