bonnie_adm Posted February 3, 2020 Share Posted February 3, 2020 Site URL: https://www.mentalhealthinstitute.org.au/resources Hi there, I'm using the Anya template in the Bedford family. I was wondering if anyone knows how to adjust the width of a blog post so that the page content appears to be the same width as other normal pages? The blog post (10/10 image example) doesn't take up the full width of the content, whereas other pages do (Short Courses, for example). i would also find it helpful, to know what css to use to hide the "older post" link displayed at the bottom of posts, and css to hide the date and author metadata at the top of a post. I've got it set to transparent for now, but that also hides the tag information, which I would like to have visible. Would greatly appreciate any help. Bonnie Link to comment
tuanphan Posted February 3, 2020 Share Posted February 3, 2020 Where is blog? Can you share link to a blog to check code? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
bonnie_adm Posted February 4, 2020 Author Share Posted February 4, 2020 Thanks @tuanphan. It's here: https://www.mentalhealthinstitute.org.au/resources Link to comment
tuanphan Posted February 9, 2020 Share Posted February 9, 2020 On 2/4/2020 at 7:54 AM, bonnie_adm said: Thanks @tuanphan. It's here: https://www.mentalhealthinstitute.org.au/resources Add to Home > Design > Custom CSS .collection-type-blog.view-item { /* hide older */ .older { display: none !important; } /* content width */ div#content { max-width: 100% !important; } main#page { padding-left: 20px; padding-right: 20px; max-width: 100%; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
bonnie_adm Posted February 11, 2020 Author Share Posted February 11, 2020 Thanks @tuanphan! This is great. I actually ended up using } .collection-type-blog.view-item { /* hide older */ .older { display: none !important; /* hide newer */ } .newer { display: none !important; } /* content width */ div#content { max-width: 60% !important; } main#page { padding-left: 20px; padding-right: 20px; max-width: 100%; } } as the 60% width was more in line with the other pages on the website. And I also discovered the blog adding a 'Newer Post' section at the bottom, so I tweaked your CSS to hide that as well. It looks so much better now! Thank you. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.