Hi
For hidden/remove the share buttons from amp you’ll need to add a custom css in Theme panel>Mobile theme>Custom css
.amp-mode-touch .td-post-sharing-top, .amp-mode-touch .td-post-sharing-bottom{
display:none!important;
}
.amp-mode-touch .td-header-wrap {
background-color: darkred;
}
Fell free to change the color.
Please notice that your support period expired ( Supported until: 2018-09-06 ) we suggest you extend your support if you still need our help with your website or add extra keys that have support, you can extend it from here -> https://www.screencast.com/t/ShdowUq94e -> https://themeforest.net/item/newspaper/5489609?s_rank=2
Thank you for your understanding!
Hey Calin,
I follow the steps and nothing will change. The color is the same (black) and share buttons are also available. on Newspaper V9.7.1 (latest updated)
I am going to the Theme Panel > Mobile Theme > Custom Code > Custom CSS and paste the code you’ve shared. But nothing will change.
What to do now?
Also, I will renew my subscription.
In older version, I edit the AMP plugin file and change the color code in body and remove the share buttons from there only. But I want to change it on newer one as well. So, please help.
-
This reply was modified 7 years by
ashubais.
Hi,
To change the amp header color and hide the social shares you need to go in wp-content/plugins/td-composer/mobile/amp/functions.php -> https://www.screencast.com/t/m0ufXi3tuW
?>
<style>
.amp-mode-touch .td-post-sharing-top, .amp-mode-touch .td-post-sharing-bottom {
display: none;
}
.amp-mode-touch .td-header-wrap {
background-color: red;
}
body [class^="td-icon-"]:before, body [class*=" td-icon-"]:before {
line-height: unset ;
}
.single .td-social-network, .single .td-social-handler i {
padding-top: 13px;
}
</style>
Fell free to change the colors!
Hope this will help you!
Thanks!