Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Sidebar problem, can't setup left sidebar
New Landing › How can we help? › Themeforest Theme Support › Dante › Sidebar problem, can't setup left sidebar
Tagged: sidebar
- This topic has 15 replies, 4 voices, and was last updated 9 years by Rui Guerreiro – SUPPORT.
-
Posted in: Dante
-
January 8, 2015 at 8:52 pm #140189
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
January 8, 2015 at 10:26 pm #140203Hi,
Can you provide an example page and also admin access so we can check what’s the issue?
-Rui
January 16, 2015 at 3:49 pm #142074I’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!
January 16, 2015 at 4:12 pm #142082Hi,
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
January 16, 2015 at 6:32 pm #142129This reply has been marked as private.January 19, 2015 at 12:58 pm #142382Hi,
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
January 19, 2015 at 1:36 pm #142393This 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.
-Rui
January 20, 2015 at 4:25 pm #142766Rui – 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.
January 20, 2015 at 4:30 pm #142773Hi there,
This is the correct fix – http://www.swiftideas.com/forums/topic/page-meta-setting-issue-left-sidebar-shows-up-on-right-side/#post-138590
Thanks,
– Ed
January 20, 2015 at 5:07 pm #142779Ed – 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.
January 20, 2015 at 5:21 pm #142785That 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
January 20, 2015 at 5:33 pm #142794My 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.
January 20, 2015 at 5:34 pm #142795THanx 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
January 20, 2015 at 6:22 pm #142810Hi @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
January 20, 2015 at 6:25 pm #142812Ed – all true. Thanks again. These themes do rock my socks.
-
Posted in: Dante
You must be logged in and have valid license to reply to this topic.