Tagged: x
-
AuthorPosts
-
August 8, 2016 at 4:35 pm #1122781
dhirczyParticipanthi
i would like to adda link in the menu bar that shows the widgetbar on top? how can i do that?thanks alot
August 8, 2016 at 6:12 pm #1122866
NicoModeratorHi There,
Thanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
Thanks.
August 9, 2016 at 2:34 am #1123325
dhirczyParticipantHello
There is a button on the corner on the right top (scrennshot in attachment). When clicking on it the widget bar slides in from above. What i want to do is to add a link in the main menu in the navbar where all the other links like home blog etc. are. When clicking on that link i want the widget bar to slide in too.
Thank you!
August 9, 2016 at 3:33 am #1123371
ChristopherModeratorHi there,
Please add a custom CSS class to menu item, e.g
my-class.Please add following code in Customize -> Custom -> JavaScript :
jQuery(".my-class").click(function(){ jQuery(".x-widgetbar.collapse").addClass("in").css("height","auto"); });Hope it helps.
August 9, 2016 at 7:47 am #1123612
dhirczyParticipanthi
it somehow works. when clicking on the link the section is shown. but there is a problem: it is displayed at the top of the website and not on the actual position.
thank you
August 9, 2016 at 9:00 am #1123703
JoaoModeratorThanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
August 9, 2016 at 9:02 am #1123710
dhirczyParticipanti cant provide an url at the moment because its set up on my local computer and not on the web. i will post url when its live.
thank you
August 9, 2016 at 10:08 am #1123825
RahulModeratorAnytime.
We’re always ready to help our users.
Thanks!
August 18, 2016 at 10:44 am #1136989
dhirczyParticipantAugust 18, 2016 at 11:14 am #1137042
dhirczyParticipantThe second issue is that i added Tab shortcode into the widget but its not displayed as it should. Somehow de CSS is not applied properly.
Thanks
August 18, 2016 at 12:10 pm #1137131
RupokMemberHi there,
Thanks for writing back. Yes it should show on the top of the website and it’s pretty usual. We are just triggering this from a different place that doesn’t mean the position will be changed as well. So it’s normal.
Yes it’s not working as expected because there is already style defined for the list for the widgets and that’s interfering with Tabs CSS. You can try adding this CSS :
.widget .x-nav { list-style: outside none none; margin-bottom: 1.313em; margin-left: 0; } .widget .x-nav-tabs > li { border-bottom: 1px solid rgba(0, 0, 0, 0.15); border-right: 1px solid rgba(0, 0, 0, 0.15); float: left; list-style: outside none none; margin-bottom: 0; text-align: center; } .widget .x-nav-tabs > .active > a, .widget .x-nav-tabs > .active > a:hover { background-color: #fff; box-shadow: 0 3px 0 0 #ff2a13 inset; color: #272727; cursor: default; }Hope this helps.
August 18, 2016 at 12:19 pm #1137143
dhirczyParticipanthi!
Thanks for the CSS.
Looks better now but still not perfect. There is a space between the tab nav and the content itself. And the borders of the tabs dont look as supposed.
Could you have another look at it please?
Thanks alot
August 18, 2016 at 12:39 pm #1137180
dhirczyParticipantI figured it out myself. No need to look at it anymore.
Thanks alot 🙂 🙂
August 18, 2016 at 1:19 pm #1137247
RupokMemberYou are welcome!
Glad that you sorted it out. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1122781 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
