- This topic has 12 replies, 3 voices, and was last updated 1 year, 6 months ago by
Marjorie.
-
AuthorPosts
-
December 26, 2020 at 9:37 pm #1595316
Marjorie
Hello,
I can’t seem to get the sidebar, blog archive and posts to display properly. I have read and tried everything I could. I think it’s a container issue but I don’t know how to fix it.
Please have a look https://onlinebusinesblog.com/how-to-start-a-blog/
Thank you
December 27, 2020 at 4:34 am #1595465David
StaffCustomer SupportHi there,
is the Container width thats the issue?
If so the Site is using a Layout Element:https://docs.generatepress.com/article/layout-element-overview/
You can find that in Dashboard > Appearance > Elements
Edit the one assigned to the Posts, go to the Content tab and increase the Width set there. Its currently set to 800px.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/December 27, 2020 at 7:24 am #1595751Marjorie
Hi,
I think it worked but the title and the sidebar aren’t fixed. How do I get the title to align with the image to the left side and how to decrease the amount of space between the sidebar and the post.
https://onlinebusinesblog.com/what-is-a-blog/
Thank you
December 27, 2020 at 8:01 pm #1596160Leo
StaffCustomer SupportJust to confirm, do you want the header element to be on top of both the content and sidebar?
Or just the content?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/December 27, 2020 at 8:07 pm #1596171Marjorie
Hi Leo,
Just over the content.
Can you have a look at the blog archive it’s also out of sync. https://onlinebusinesblog.com/blog/
Is there a way I can get my blog archive to look like site library marketers layout? I would really like that.
Thanks a mil
December 27, 2020 at 8:11 pm #1596173Leo
StaffCustomer SupportLet’s try to move the page hero first with this PHP snippet:
add_filter( 'generate_page_hero_location', function() { return 'generate_before_main_content'; } );
Adding PHP: https://docs.generatepress.com/article/adding-php/
Can you open a separate topic for the blog archive question?
Let’s tackle one question per topic.
Thanks 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/December 27, 2020 at 8:17 pm #1596180Marjorie
I’m using a child theme, does that mean I don’t need to install code snippet?
If not where do I locate the child theme function.php file.
Thanks
December 28, 2020 at 4:45 am #1596603David
StaffCustomer SupportHi there,
thats correct, if you have a Child Theme enabled, the you can add that code to the functions.php file.
You can edit the Child Themes functions.php in Dashboard > Appearance > Theme Editor.
However, we recommend that you have FTP or server console access to your sites files, this is in case of the unlikely event you add some code to those files that ‘breaks’ the site. Its rare that it happens as WordPress will parse the code to stop those sort of things happening… so its just an extra caution.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/December 28, 2020 at 5:49 am #1596667Marjorie
Hi,
I don’t see the editor
Thanks
December 28, 2020 at 6:52 am #1596890David
StaffCustomer SupportThats generally because of your Sites wp-config settings or because of a security plugin that is disallowing file editing. If you’re not using a security plugin then this article explains how to enable that – but it does require you having access to your severs backend to do this:
https://docs.generatepress.com/article/disallow-php-execution/
Unless you intend to make your PHP Templates or write 1000’s of lines of CSS you may want to disable the Child Theme and just use the Code Snippets plugin instead.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/December 28, 2020 at 7:00 am #1596907Marjorie
I activated generatepress and installed code snippets, I then added the code.
I saw no change.
What do I do next?
December 28, 2020 at 12:10 pm #1597306David
StaffCustomer SupportCan you check the Snippet is saved and activated ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/December 28, 2020 at 12:31 pm #1597329Marjorie
It didn’t go to the left, it went in the middle.
Anyways I’m going to mark this resolved because I really want to move on, I’ve been stuck on this a while now.
I’ll open a new ticket.
Thanks -
AuthorPosts
- You must be logged in to reply to this topic.