ankris
Hi
The code is not styled for the model pages, it needs to customized.
When you added the code in modal php file kindly use inspect element to see the code.
Now you have to define the new style code to adjust it where you want to show via custom.css file.
Example :
Add code here : http://prntscr.com/nc05ik
add this code in custom.css file first to show the code on modal pages
.no-sidebar .item-page.landing-page .sharing-tool-wrap, .no-sidebar .item-page.view-model .sharing-tool-wrap {
display: block!important;
}
Now you need to define new style based on your needs, where you want to place it
Example code
.item-page.view-model .sharing-tool.affix {
top: 30px;
position: absolute;
}
.item-page.view-model .sharing-tool {
position: absolute;
margin-left: 12px;
}
Output : http://prntscr.com/nc05et