[SalesForce] remove lightning buttons from page layout

I have a custom object which is related to contact. i am getting the following detail page for the custom object

enter image description here

i am not being able to understand at all where the new Opportunity and new Contact buttons are coming from. They are not lightning quick actions or global actions. can anyone tell me from where can i remove it.

Best Answer

You should check your custom object layout;

Salesforce Mobile and Lightning Experience Actions

If the red highlighted area as above screenshot, then click there, it will be as below )or it's already as below.

enter image description here

Then you can drag&drop the buttons away from the area.