Home Forums Exoplanet Posts page aligment

This topic contains 13 replies, has 2 voices, and was last updated by  kivo 1 year, 1 month ago.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #706

    kivo
    Participant

    Hello!

    Is there a way to change the position of content at the posts page? I need it to be center aligned but it is still at the left, like there should be a sidebar section on the right which is actually empty. http://prntscr.com/dlcbnx

    I tried to use different sidebar layouts http://prntscr.com/dlcemx . But it is still left aligned!

    #707

    Andy
    Keymaster

    Hi,

    This is due to how the WordPress loop takes the current post ID from the last post in the list on the blog page, so the sidebar options won’t work on the page you have set to display your latest posts.

    You can work around this by adding a small snippet of CSS;

    if you are using WordPress 4.7, go to Appearance > Customize > Additional CSS and add this:
    .blog #primary{width:100%;float:none;}

    if you are using a version of WordPress older than 4.7, you could install a custom CSS plugin which allows CSS per page/post such as https://wordpress.org/plugins/wp-add-custom-css/ and on your blog page add this:
    #primary{width:100%;float:none;}

    #708

    kivo
    Participant

    Yes, it works! Thank you 🙂 .

    #710

    kivo
    Participant

    One more question:

    Is it possible to turn off the featured image at the blog page? http://prntscr.com/dm2r8v It looks not so well because of the different image sizes.

    There is a way to remove image from the post page, but in this way it will be no picture at the inside page.

    #713

    Andy
    Keymaster

    For the post, you could remove the featured image and insert an image into the post content instead.

    Or if you really need to keep the featured images, add this CSS:
    .blog .entry-figure img{display:none;}

    #714

    kivo
    Participant

    Where should I insert this code? If into the blog page (via addiational css plugin) it doesn’t work.
    http://prntscr.com/dm54gg

    #721

    Andy
    Keymaster

    Sorry, I should have said add it at Appearance > Customize > Additional CSS (not in the page editor for your blog page)

    #722

    kivo
    Participant

    Thanks!

    #726

    kivo
    Participant

    It is also interesting about showing the inside pictures at the blog page.

    Right know it looks like isn’t working.
    http://prntscr.com/dne19j
    http://prntscr.com/dne1ma

    For the post, you could remove the featured image and insert an image into the post content instead.

    • This reply was modified 1 year, 9 months ago by  kivo.
    • This reply was modified 1 year, 9 months ago by  kivo.
    • This reply was modified 1 year, 9 months ago by  kivo.
    • This reply was modified 1 year, 9 months ago by  kivo.
    • This reply was modified 1 year, 9 months ago by  kivo.
    #732

    kivo
    Participant

    Hello!

    Is it possible to show the inside post pictures at the posts page?

    Right know it looks like isn’t working.
    http://prntscr.com/dne19j
    http://prntscr.com/dne1ma

    Maybe it’s needed a some code?

    #733

    Andy
    Keymaster

    It is correct. It only shows text from post content along with the featured image.

    #1773

    kivo
    Participant

    Hello!

    One more question about the blog posts aligment. I need to show only posts without the sidebar space.

    What css should I add to achieve the same result at the search page as it works at the blog #primary page?

    http://prntscr.com/gb9f5z

    #1782

    Andy
    Keymaster

    Hi, similar to the blog page, add this CSS:

    .search #primary{width:100%;float:none;}

    #1784

    kivo
    Participant

    Thanks, it works!

    Nice theme and  excellent support!

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.