WebSite X5Help Center

 
Brian S.
Brian S.
User

Adding a share blog post button and adding margins to blog posts  en

Author: Brian S.
Visited 76, Followers 1, Shared 0  

I am working on a new blog and want to be able to add a 'Share' button so that readers can share the blog post to social media. I also want to be able to add margins to the blog posts. In the preview, the text is butted up against the edge of the page. Would like to be able to add/change the margins, the same way you can with other elements.

Posted on the
6 ANSWERS - 1 CORRECT
Brian S.
Brian S.
User
Author

Thanks. Will take a look at it. There should be something native to the program though instead of going third party.

Read more
Posted on the from Brian S.
Daniel W.
Daniel W.
User
Best User of the month DE

----- CSS-Code -----

<style>
#imBlogPage { padding: 50px 50px 50px 50px; }
</style>

----------------------

-----

-----

Read more
Posted on the from Daniel W.
Brian S.
Brian S.
User
Author

That works. Thanks. I changed the margins to 10px per side. 

Read more
Posted on the from Brian S.
Brian S.
Brian S.
User
Author

Curious as to why I am getting a scroll bar now? Is that the external margin command vs internal?

Read more
Posted on the from Brian S.