New Landing How can we help? Themeforest Theme Support Neighborhood Edit sidebar widget width

Viewing 15 posts - 1 through 15 (of 16 total)
  • #166085
    GTS75
    Member
    Post count: 240

    This may be a long shot…but I’d like to add blank spacers to the sidebar widget section of my blog posts so that they’re centered in the middle. I don’t want actual sidebar widgets or menus to display..so my first solution was to add white images to a sidebar widget and display them on both the left and the right sidebar, but then on mobile devices I ended up with a big ugly white gap under the post content where the widgets display. Is there a way to edit the width of specific sidebar widgets? How about all of them? Is there another way to accomplish this? Please look at the example of a blog style that I’d like to recreate.

    Thanks in advance for your help

    Attachments:
    You must be logged in to view attached files.
    #166264
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add the blog asset to your page, and resize it to 2/3
    Then in the blog asset settings, add an extra class offset-2

    You can set sidebars to none

    – Kyle

    #166295
    GTS75
    Member
    Post count: 240

    Hey Kyle,

    I have a new page, and I’ve added the blog page element to the swift page builder. However I don’t see an option to resize the blog element to 2/3…it seems to just take up the full width of the drag and drop box. Your description sounds like a perfect solution not having to use sidebars but I can’t seem to follow your directions correctly.

    Thanks,
    Dan

    #166329
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sorry nhood doesn’t include different blog side options.

    Ok add a custom class to your blog, for e.g. narrowblog

    Then please provide me with your link

    – Kyle

    #166507
    GTS75
    Member
    Post count: 240
    This reply has been marked as private.
    #166546
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Looks like you’re using a sidebar..

    – Kyle

    #166557
    GTS75
    Member
    Post count: 240

    Okay I removed the sidebar. What do I have to do to make the content centered with margins about half the size of a typical sidebar?

    #166561
    Kyle – SUPPORT
    Moderator
    Post count: 35880
    .spb_blog_widget.narrowblog {
      width: 80%;
      margin-left: 10%;
    }
    
    .spb_blog_widget.narrowblog .span12 {
      width: 100%;
    }

    – Kyle

    #166919
    GTS75
    Member
    Post count: 240

    Hey Kyle – That css worked in making my blog page centered with the side margins, but can I apply that same formatting to each blog post once the use clicks to open up the actual post? I’d like the same exact side margins and centered content. How is this possible?

    Dan

    #167081
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me any blog post url to check and find the exact css selector.
    Thanks
    Mohammad

    #167354
    GTS75
    Member
    Post count: 240
    This reply has been marked as private.
    #167610
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try this:

    .single-post .has-no-sidebar .page-content.span12 {
      width: 80%;
      margin-left: 10%;
    }
    .single-post .has-no-sidebar .spb_content_element.span12 {
      width: 100%;
    }

    – Kyle

    #167734
    GTS75
    Member
    Post count: 240

    That worked for the margins…but it crunches all of my post content, cuts off images and won’t allow two single image page elements to be side by side on the page. Anything else you can think of to keep the margins while resizing the page element content to not be affected?

    #167736
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Unfortunately not sorry :/ the issue is Neighorhoods grid is set using actual widths in pixels, every column size has a width in px rather than %, therefore it’s difficult to change sizes, sorry

    – Kyle

    #167742
    GTS75
    Member
    Post count: 240

    Alright I figured. Thanks for checking in on this.

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register