1. sfb
  2. General
  3. Thursday, April 25 2019, 03:27 PM
Hi There,

How can I remove the Edit Profile Button from the profile page?

I would like to change it so it does not show.

Thanks
Attachments (1)
admin Accepted Answer
Admin
Hi,
to hide the button you can add a CSS like this in your template:
.jsn-p-opt{display:none !important}


Alternatively you can remove the button with template override:
- Copy file from /components/com_jsn/views/profile/tmpl/default.php in /templates/your-theme-folder/html/com_jsn/profile/default.php
- Open the new file and remove lines 46 and 47
  1. more than a month ago
  2. General
  3. # 1
sfb Accepted Answer
Pro
I did option 1 and it removed the button from full width view, but when I make my screen smaller it pops up again.

Is it possible to remove it in all responsive sizes?
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
it should works also in mobile version, anyway it may depends from the CSS order, try with this code:
body #easyprofile .jsn-p-opt{display:none !important}
  1. more than a month ago
  2. General
  3. # 3
  • Page :
  • 1


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