[Support request] Layout – image size and sidebar

Home Forums Support [Support request] Layout – image size and sidebar

Home Forums Support Layout – image size and sidebar

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #680435
    Devesh

    How do i make all blog post images including featured image of same size (both width and height). I am not able to maintain same size using “edit image” option in wordpress. Also, want all my thumbnails on homepage to have the same size

    Also, how do i keep the right sidebar only for homepage. it takes it by default for all pages including blog posts. Also, is there any way to add a border for the sidebar.

    #680633
    David
    Staff
    Customer Support

    Hi there,

    where possible it is best to use all the same size images. But you can resize the featured images in Customiser > Layout > Blog > Featured Images ( Archives )

    Sidebars can be set in the Customiser for Pages / Posts and Blogs.

    For the border, do you want this be on all sides of the individual widgets or the entire sidebar length?

    #680843
    Devesh

    Using Customiser > Layout > Blog > Featured Images ( Archives ) doesn’t seem to be working.
    for the post i tried to set the length to 315, but there is no change if I use this option.

    For sidebars, is there no single option to disable it for all pages/post other than homepage.
    I want to keep sidebar only for homepage. I cant keep using the customiser to disable it for each and every page. Any css that will help

    i want to apply the border only to sidebar widget.

    #681767
    Devesh

    Awaiting a reply to this query.

    #681784
    Leo
    Staff
    Customer Support

    Hi there,

    Did you set the width or height to 315px? It should work for width but not for height as your original image is only 234px in height:
    https://moneyjigyasu.com/wp-content/uploads/2018/08/80C-5-Myths-Busted-e1537293371530.png

    If you want to use sidebar for home page only, the easiest option is to set Content (no sidebars) on all three options here:
    https://docs.generatepress.com/article/sidebar-layout/

    Then use the layout metabox on home page to set to Content/Sidebar:
    https://docs.generatepress.com/article/sidebar-layout/#different-sidebar-layouts-for-individual-pages-and-posts

    Try this CSS for border:

    .sidebar .widget {
        border: 1px solid #000;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Make sure to clear caching plugin when you make the above changes as well.

    Let me know if this helps 🙂

    #681809
    Devesh

    Thanks. How do i change the border color of the sidebar

    #681913
    David
    Staff
    Customer Support

    Hi there,

    this code that Leo provided:

    .sidebar .widget {
        border: 1px solid #000;
    }

    Change the #000 to another hex color.

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