Tagged: x
-
AuthorPosts
-
May 27, 2016 at 8:00 pm #1013793
jezza_195ParticipantHi, I’m having difficulty styling my custom sidebar content. I am able to edit the background color and remove borders, however nothing else seems to change, even with a !important tag.
I would like to edit background color, font color, hover color, and ideally the indents (there is a sub menu).
Thanks!
May 27, 2016 at 8:01 pm #1013794
jezza_195ParticipantThis reply has been marked as private.May 28, 2016 at 1:19 am #1014068
FriechModeratorHi There,
Thanks for writing in! Change the sidebar background with this custom css
.x-sidebar.right, .x-sidebar.right .widget ul li, .x-sidebar.right .widget ol li { background-color: green; }And this for the menu items color and its hover color
.x-sidebar .widget.widget_nav_menu .current-menu-item a {color: red;} .x-sidebar .widget.widget_nav_menu .current-menu-item a:hover {color: blue;}And this for the sub menu indents
.widget ul li li li li a, .widget ol li li li li a { padding-left: 4em; }Feel free to adjust the padding and color values where you see it fits.
Cheers!
May 29, 2016 at 3:37 am #1015008
jezza_195ParticipantThankyou!
Could you also please help with the following:
Change padding of the very first item (the heading)
Capitalize text (text-transform: capitalize isn’t working)
Change the width of the sidebar (shrink it – it is too wide)
On mobile devices, the sidebar appears at the bottom. Can I change it so there is a drop down box in the top right the user can click on (which would then expand into the page) but is by default collapsed?May 29, 2016 at 4:12 am #1015023
ChristopherModeratorHi there,
#1 & #2 Please add this code as well:
.x-sidebar .h-widget { padding: 2px; text-transform: capitalize; } .x-sidebar ul#menu-fcast > li > a { padding: 11px 10px; text-transform: capitalize; }#3 Please navigate to Customize -> Layout and design and increase content width to decrease sidebar width.
#4 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.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1013793 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
