Tagged: x
-
AuthorPosts
-
August 2, 2016 at 10:57 am #1113949
jkneitelParticipantGreetings! There is a bunch of extra space on my site between the header and the content. I would like to remove this. I’ve followed a bunch of other threads and the CSS didn’t do the job.
To be sure, I have a sidebar on all of my pages. The top of the sidebar is higher than the top of the page content. When I implement the custom CSS from the other threads, both the content and sidebar get shifted up. Can I shift only the page content up?
August 2, 2016 at 11:55 am #1114032
RupokMemberHi 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.
August 2, 2016 at 1:50 pm #1114227
jkneitelParticipantThis reply has been marked as private.August 2, 2016 at 2:07 pm #1114255
jkneitelParticipantDouble-checking what I initially wrote, I now realize that there is space between the page title and the content. The sidebar fits under the page title appropriately, but the page content is too far down (and offset compared to the sidebar).
I’d like to have the page content fit under the page title without this space.
Also, and perhaps this belongs in a different thread, is there a way to center the page title across the page content only (and not over the page content and sidebar).
August 2, 2016 at 2:18 pm #1114271
JoaoModeratorHi
Would you mind provide a screenshot clarifying what you are referring to?
Thanks
Joao
August 2, 2016 at 2:45 pm #1114303
jkneitelParticipantThis reply has been marked as private.August 2, 2016 at 5:47 pm #1114581
JadeModeratorHi there,
You can add this under Custom > CSS in the Customizer.
header.masthead.masthead-inline { height: 130px; } .x-main.left { margin-top: -35px; }Hope this helps.
August 2, 2016 at 7:54 pm #1114732
jkneitelParticipantThat mostly works. Thanks.
This works well for desktop. However, for mobile, my menu items are actually listed (that is, the menu is not simply an expanding mobile menu button). The menu items come down a bit far below the bottom of the page logo. To get this to look right on mobile, I have to add a lot of height to the masthead. Yet, this looks really bad on the desktop.
For a workaround solution, is there a way to have my mobile menu items to be responsive. Where their font size gets smaller on mobile compared to desktop?
Thanks as always for your outstanding support!
August 3, 2016 at 2:43 am #1115048
ChristopherModeratorHi there,
Please find and remove following codes :
.x-nav-wrap.desktop { display: block !important; } .x-nav-wrap.mobile, .x-btn-navbar { display: none !important; }And add this code :
.x-btn-navbar.collapsed,a.x-btn-navbar { color: #000; } a.x-btn-navbar:hover{ color:red; } a.x-btn-navbar:before { content: "Menu "; }Hope it helps.
August 3, 2016 at 8:12 am #1115344
jkneitelParticipantThat’s definitely not what I was after. I’d like to keep my menu items listed out on mobile (that is, I don’t want my menu to be a collapsed dropdown menu).
Can you please provide me with custom CSS that would make these menu items smaller on mobile? That would ideally include the WooCommerce shopping cart icon area.
August 3, 2016 at 11:19 am #1115617
RupokMemberHi there,
Thanks for writing back. That’s pretty unusual sine there is not enough space in mobile and it will be unredable. but if you still want; you can add this under Custom > CSS in the Customizer.
@media only screen and (max-width: 500px) { .x-navbar .desktop .x-nav > li > a { font-size: 8px; } }Further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding.
August 3, 2016 at 1:10 pm #1115808
jkneitelParticipantThanks. That worked very well.
I was able to get away with having the menu options listed out on mobile because I didn’t have that many menu options. They all fit across one line and look good using your CSS above (with a font size of 8.5). However, as the site expands I’ll have more options.
I’ll revert to the mobile menu. And I also used your CSS to adjust the spacing between the header and the page content. Thanks again!
August 3, 2016 at 3:03 pm #1115982
JoaoModeratorYou are welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1113949 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
