New Landing How can we help? Themeforest Theme Support Dante Dante gutter width (more space between each column in the grid)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #44270
    wylesight
    Member
    Post count: 45

    Hi,

    Dante is an amazing theme. However, as a lot of themes out-there, I think the gutter width is too small.
    i.e. : the space between each column of the content grid is too small and design looks messy when you have lot of text.

    As theme as been based on Bootstrap, does anybody know a way to customize this ?

    Many thanks by advance

    #44322
    wylesight
    Member
    Post count: 45

    I’ve found a pretty easy solution.

    It may not be perfect as I’ve spotted a few elements margin errors (only latest portfolio fullwidth for now).

    1. Go to Bootstrap Customization tool http://getbootstrap.com/customize/
    2. Don’t change any settings and go to the “Layout and grid system” section
    3. Enter the desired gutter size in “@grid-gutter-width”. In my case 60px.
    4. (optional): change the max grid size in “@container-lg”. In my case ((1000px + @grid-gutter-width))
    5. Scroll down to the bottom and click on “compile & download”
    6. Find “bootstrap.min.css” in the downloaded archive
    7. Go to dante/css/ on your server
    8. BACKUP your bootstrap.min.css original file
    9. Replace it with the new bootstrap.min.css file downloaded from bootstrap.

    After this alsmost all the elements are ok. You just need a few adaptations in the main style.css

    10. Use a child theme and add the following rules in it :


    .header-3 #main-navigation, .header-4 #main-navigation, .header-5 #main-navigation, .header-6 #main-navigation, .header-7 #main-navigation {
    margin-right: 30px;
    }

    .header-6 .search-nav, .header-7 .search-nav {
    right: 30px;
    }

    .header-6 #logo, .header-7 #logo {
    left: 30px;
    }

    #breadcrumbs {
    margin-right: 30px;
    }

    .page-heading .heading-text {
    margin-left: 30px;
    }

    @media only screen and (max-width: 991px){
    .header-6 #logo, .header-7 #logo {
    padding: 0 30px!important;
    }
    }

    @media only screen and (max-width: 767px){
    .page-heading .heading-text {
    margin-left: 10px!important;
    }
    }

    #44622
    Tahir – SUPPORT
    Member
    Post count: 1212

    Hi wylesight ,

    Thanks for posting the workaround.

    Much Appreciated.
    -Tahir

    #44705
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Cheers @wylesight!

    I think this is a very rare case in terms of users desires, but will keep this handy in case anyone asks in the future.

    Thanks,

    – Ed

    #52701
    orzopupo
    Member
    Post count: 1

    thanks for the work around, this is exactly what I was looking for.

    #52761
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great!

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