Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

How to hide "Edit with SP Page Builder" button in frontend?

Featured Lock Resolved
Hello

Is there a way to completely hide "Edit with SP Page Builder" in a frontend?

I've hidden joomla edit button and other SP page builder button with rules in my custom.css file
But I cannot hide "Edit with SP Page Builder" button.

I've inspected that URL it with Developer Tools but href doesn't contain any css class and it's not wrapped with other div with class, so it cannot be hidden easily.

This button shows when logged in as admin or superadmin in frontend,
when viewing menu item with Joomla article which is made with SP Page Builder
I attached screenshot of that button.

Thanks
Regards

Attachments (1)

  • forums.jpg
    forums.jpg 6 KB

3 Answers

Sifat - Staff

More than a month ago #Permalink
Hi,
Thanks for your query. Sorry actually there is no default feature like that. But you can use this css into your custom css to solve this issue.

.article-details a[target="_blank"] {
display: none;
}


-Best Regards

Hrvoje Znaor

More than a month ago #Permalink
Hello

It doesn't work because there is no element with .article-details class
First element which wraps that button has this class: blog-content-wrap so
this: .article-details a[target="_blank"] - doesn't work
this: .blog-content-wrap a[target="_blank"] - works
but your code also hides all URLs with target="_blank" on that page
I can continue and play with :first-child pseudo selector, but this might hide first url on some other pages.
So I will leave it as is.

IMHO best option would be to assign unique class to "Edit with SP Page Builder" button in some of next SP page builder versions.

Regards

Sifat - Staff

More than a month ago #Permalink
Hi,
Thanks for your reply and your suggestion. I've added this to our todo list( which is quite long ) and our developers will take care of that.

-Best Regards


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 119
Sifat

Sifat

Total Accepted Answers: 117
Toufiq

Toufiq

Total Accepted Answers: 54
Pavel

Pavel

Total Accepted Answers: 5
Peter Atkin

Peter Atkin

Total Accepted Answers: 2

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us