Tagged: x
-
AuthorPosts
-
February 28, 2017 at 5:30 pm #1389355
redsnapdragonsParticipantHello
I want my tabs element on this page
http://www.sandbox.helpsocial.com/web-and-mobile-apps/
To look like the code snippet box on Stripe that’s underneath the “Developer’s first” headline.
How can I change the background add numbers, and target the spacing between the tabbed elements?
March 1, 2017 at 1:13 am #1389843
RupokMemberHi there,
Thanks for writing in! I can help you to get started. You can add this under Custom > CSS in the Customizer.
.x-nav-tabs.right { margin-left: 30px; } .x-nav-tabs > li > a { background-color: transparent; box-shadow: none; } .x-nav-tabs > .active > a, .x-nav-tabs > .active > a:hover { box-shadow: none; } .x-nav-tabs { border: none; box-shadow: none; } .x-nav-tabs > li { border: none !important; }Hope this helps.
Cheers!
March 1, 2017 at 1:22 am #1389845
ChristopherModeratorHi there,
Please use code shortcode for tabs content, please see : http://demo.theme.co/integrity-1/shortcodes/code/
Please add following code in Customize -> Custom -> Global CSS :
ul.x-nav.x-nav-tabs.right { margin-left: 27px; }In regards with adding line number, regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.
Hope it helps.
March 1, 2017 at 2:46 pm #1390890
redsnapdragonsParticipantHow do I change the padding around the main content? I want the words closer to the edge of the big box. How would I remove the shadows around the box?
Also, how do I change the color of the tab if it is active? How would I target the color of the text on the tab?
March 1, 2017 at 11:18 pm #1391415
Paul RModeratorHi,
You can add this under Custom > Edit Global CSS in the Customizer.
/* main content padding */ .x-tab-content .x-tab-pane { padding: 15px; } /* remove main content border */ .x-tab-content { border:0; } /* inactive color */ .x-nav-tabs > li > a { background-color: transparent; color: #d8d8d8; } /* active tab and hover color */ .x-nav-tabs>.active>a, .x-nav-tabs>.active>a:hover { background-color: #fff; color: #272727; }Hope that helps.
March 12, 2017 at 10:33 pm #1404329
redsnapdragonsParticipantYes it does!
How can I remove the border of the tabs? I just want to have the active tab change color and the rest have no border between and around them.
March 13, 2017 at 12:40 am #1404427
Rue NelModeratorHello There,
Thanks 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.
Thank you for understanding.
March 14, 2017 at 3:32 pm #1407067
redsnapdragonsParticipantThis reply has been marked as private.March 15, 2017 at 12:53 am #1407600
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> Global CSS :
.x-nav-tabs.left>.x-nav-tabs-item, .x-nav-tabs.right>.x-nav-tabs-item,.x-nav-tabs.left, .x-nav-tabs.right { border-bottom: none; } .x-nav-tabs.right>li a { border-left: none; } .x-nav-tabs { border: none; } li.x-nav-tabs-item.active a { background-color: #f8f8f8 !important; }Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1389355 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
