How to remove edit link on the Big Grid 8

Posted in: Newspaper
Post count: 36

I am using Big Grid 8 with Grid Style 3 – Flat Colors for my home featured area. I want to remove edit link on hover for that grid block.

How can I remove edit link from that block? See image below or check out website http://question2answer.club/

Big Grid 8 - Grid Style 3 - Flat Colors Screenshot with Edit Link

Post count: 22421

Hello,

The edit link is only available if you are an administrator. if your user role does not have the ability to edit the page, then the link will not show up. However if you want to remove it anyway, you can use this css code:
.td_block_big_grid_8 .td-admin-edit{
display:none!important;
}

You can add the code in the theme panel->custom css box

Thank you!

Post count: 36

I am aware of this edit link and know it appears only to admin but in my case, it is appearing to every logged in users.

I am not so sure what causing this issue. It could be BuddyPress or bb press or no idea.

Hiding using CSS is not my preferable way. The element will always be there in HTML structure.

Is there anyway to remove it using child theme? Any hook or something?

Post count: 6535

HI

You can remove the link directly from theme’s files by deleting this code: http://screencast.com/t/ay946pFyzJ or if you want to keep it only for site’s administrator change the permission like here: http://screencast.com/t/NECR1DlpRTS

Thanks!

Post count: 36

This doesn’t work with the child theme. Changing in the main theme is not a good idea. Do you have any option?

Post count: 22421

Hi,
Unfortunately these are the only 2 options. Either css or removing code from the theme files (main theme only).
Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.