Hi!
I have added code at the end of the functions.php file to get Sharebox on the pages. But I would like to move it and I wonder if it’s possible to view and use the shortcode and put it inside a 1/2 layoutmodule at some other place on the page? As it is now it very wide and I don’t want to use all social icons.
I have tested to paste the code below to functions.php to view the shortcode in a debug mode, but I can’t find any shortcode at all? Where should it be?
//set builder mode to debug
add_action(‘avia_builder_mode’, “builder_set_debug”);
function builder_set_debug()
{
return “debug”;
}
Hey!
The Sharebox is not a shortcode (at the moment), if you want to reduce its container width try adding this to the Quick CSS:
div.av-share-box {
width: 50%;
}
Cheers!
Josue
Hi!
Is there a way to center this share box horizontal on pages?
Hi!
Yes, use this code:
div.av-share-box {
width: 50%;
margin: 0 auto;
float: none;
}
Regards,
Josue
Perfect! And if I want to have the header to centered, is “text-align: centered” the best option?
Hey!
This will do it:
.av-share-link-description {
text-align: center;
}
Cheers!
Josue
Thanks for the help!