[Resolved] Blog Archive & Posts & Sidebar Not Displaying Properly

Home Forums Support [Resolved] Blog Archive & Posts & Sidebar Not Displaying Properly

Home Forums Support Blog Archive & Posts & Sidebar Not Displaying Properly

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #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

    #1595465
    David
    Staff
    Customer Support

    Hi 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.

    #1595751
    Marjorie

    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

    #1596160
    Leo
    Staff
    Customer Support

    Just to confirm, do you want the header element to be on top of both the content and sidebar?

    Or just the content?

    #1596171
    Marjorie

    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

    #1596173
    Leo
    Staff
    Customer Support

    Let’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 🙂

    #1596180
    Marjorie

    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

    #1596603
    David
    Staff
    Customer Support

    Hi 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.

    #1596667
    Marjorie

    Hi,

    I don’t see the editor dashboard

    Thanks

    #1596890
    David
    Staff
    Customer Support

    Thats 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.

    #1596907
    Marjorie

    I activated generatepress and installed code snippets, I then added the code.

    I saw no change.

    What do I do next?

    #1597306
    David
    Staff
    Customer Support

    Can you check the Snippet is saved and activated ?

    #1597329
    Marjorie

    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

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.