New Landing How can we help? Themeforest Theme Support Dante Custom Site Max Width

Viewing 11 posts - 1 through 11 (of 11 total)
  • Posted in: Dante
  • #146025
    Zachy
    Member
    Post count: 83

    Hi all,

    I’m trying to do a 50% width for my site and center the elements within it.

    I’ve been able to shrink the size of the container and center it but the content within the container is getting cut off.

    This is the custom CSS currently in place:

    #container {
    width: 50%;
    max-width: 50%;
    margin: 0 auto;
    opacity: 0.9;
    filter: alpha(opacity=90); /* For IE8 and earlier */
    }

    Any suggestions are appreciated, thank you!
    Zach

    Attachments:
    You must be logged in to view attached files.
    #146031
    Zachy
    Member
    Post count: 83

    Never mind I’m all set on the sizing!

    Thank you anyways!

    #146198
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    #155687
    Zachy
    Member
    Post count: 83

    Hey all,

    I’m hoping to reopen this topic for a different website.

    Is there anyway to customize the max site width and have the content adjust with it.

    #155820
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me website url and marked screenshot to explain your issue better.
    Thanks
    Mohammad

    #158835
    Zachy
    Member
    Post count: 83
    This reply has been marked as private.
    #158884
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Do you want to remove white faded background?
    Thanks
    Mohammad

    #160045
    Zachy
    Member
    Post count: 83

    No sir I was hoping to adjust the width of the boxed layout. If you check out the screenshot on my last post that shows the Theme Options for Max Site Width, that’s what I’d like to customize.

    Basically I want to adjust the width of the content container. How wide the white faded part actually is.

    #160121
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You could add this to your css, but you may discover some layout issues:

    #container.boxed-layout, .layout-boxed #super-search, body.layout-boxed > .sf-super-search {
      width: 1070px;
    }

    – Kyle

    #163540
    whistle
    Member
    Post count: 1

    Hi there,

    For those who are wanting to narrow the site down…

    Neighbourhood is using bootstrap v2.2.2
    Reading through the docs, I’ve found a less file.

    http://getbootstrap.com/2.3.2/customize.html
    https://github.com/twbs/bootstrap/blob/v2.3.2/README.md#compiling-css-and-javascript gets into detail how to compile and build files.

    I’ve changed the //Grid directives, for gridColumnWidth1200 / gridGutterWidth1200 – these are the variables that are used in less to define column sizes for the @media screen min-width:1200 break-point.

    Cleanest way I could think of is to change that back to a grid size of 60px, so that it reverts back to the default 940px grid:

    @gridColumnWidth1200: 60px;
    @gridGutterWidth1200: 20px;

    Built it afterwards, grabbed the bootstrap-responsive.min.css code and chucked that after the bootstrap-responsive.min.css file in the neighbourhood theme.

    Poof, now I’ve got a narrower site. 🙂

    Attached the file, download it and replace the one in SITE_ROOT/wp-content/themes/neighbourhood/css/

    Not fully tested though… going through the site and patching up some things as I go.

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

    Nice work! Appreciate that!

    – Kyle

Viewing 11 posts - 1 through 11 (of 11 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