New Landing How can we help? Themeforest Theme Support Dante Sidebar problem, can't setup left sidebar

Tagged: 

Viewing 15 posts - 1 through 15 (of 16 total)
  • Posted in: Dante
  • #140189
    Frankytank
    Member
    Post count: 97

    Hi

    WHen I try to setup left sidebar in the page meta from Date it always appears on the right instead of the left….

    How can I change this?

    Thanks

    #140203
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you provide an example page and also admin access so we can check what’s the issue?

    -Rui

    #142074
    WEswift
    Member
    Post count: 234

    I’m having the same problem. I think Dante needs to float the main content to the right whenever the parent container has the class “has-left-sidebar”. It’s currently floating the main content column and the sidebar left. Since the content column comes first in the code, the sidebar appears on the right. Here’s an example page:

    http://clients.werremeyer.com/frontenacEngineering/markets-served/education/

    I can fix this in the custom css code, but a theme level fix is more appropriate in this case. Thanks!

    #142082
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    What do you have in the Default Meta optins, in the Sidebar config?
    https://www.dropbox.com/s/vmn51z9kj4jd46h/sidebar_config.png?dl=0

    -Rui

    #142129
    WEswift
    Member
    Post count: 234
    This reply has been marked as private.
    #142382
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    yes it seems to be an issue, I can see the same problem in our demo site.
    http://dante.swiftideas.net/pages/default-page-sidebar-left/

    Will have to forward to the development team.

    -Rui

    #142393
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    This was already fixed and the correction will be available on the next update.

    You can check here Kyle solution in this topic below and add that custom css code.

    Blog Sidebar position

    -Rui

    #142766
    WEswift
    Member
    Post count: 234

    Rui – thanks for the response. I think the provided fix makes certain assumptions that might break in the future. The element .col-sm-8 should probably be specified as a direct child of .has-left-sidebar so that subsequent generations of the same class are not also affected. Additionally, it assumes the widths assigned to the content area and the sidebar are 8 and 4 respectively. With those above considerations, ideally we would use:

    .inner-page-wrap.has-left-sidebar > [class*=”col-“]:not(.sidebar)
    {
    float: right;
    }

    I think assigning the main content column a class would greatly simplify the selector.

    #142773
    Swift Ideas – Ed
    Keymaster
    Post count: 15264
    #142779
    WEswift
    Member
    Post count: 234

    Ed – Thanks for input. I think the ultimate fix would be to add a main content column specific class or id. In the interim, I think my prior submitted css is a bit more future proof. Given that column widths can ideally be anything.

    #142785
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    That will only target the direct child of the left-sidebar setting for a post.

    This will be fixed for the next update however, so it won’t need a long-term solution.

    Thanks,

    – Ed

    #142794
    WEswift
    Member
    Post count: 234

    My selector does target a direct child of the .left-sidebar. That importantly also includes a class that contains “col-” and that doesn’t also have a class that includes “sidebar”. What’s the issue with this logic? It’s working on this page: http://clients.werremeyer.com/frontenacEngineering/markets-served/education/

    I see a potential issue if a third column is added, but if it’s not the main content column it may also be a class=sidebar or at least an aside element. In which case I could specify div – but I didn’t want to do that in case other html5 elements might be used in the future to define that element. I’m not sure a three column configuration is possible with this sidebar method at this time.

    #142795
    Frankytank
    Member
    Post count: 97

    THanx for the great support!

    BTW I really love the theme and all we can do with it, its one of the best thing I bought on WP so far…

    Francois

    #142810
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @WEswift

    No issue with that logic at all – I’m not saying it’s wrong, I’m just saying that the code I provided in that link is perfect for that standard theme as it is, and is the code which will be provided in the next update.

    Of course you are free to use your own variations as you so wish!

    Thanks,

    – Ed

    #142812
    WEswift
    Member
    Post count: 234

    Ed – all true. Thanks again. These themes do rock my socks.

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