Tagged: x
-
AuthorPosts
-
November 11, 2016 at 4:43 pm #1253820
PhobbsiiiParticipantWhile developing my website, suddenly the mobile menu does not display inline with my text logo. Cornerstone displays it properly, however when loading from my phone it displays incorrectly.
I noticed it after adding this CSS
.p-meta span:nth-child(1), .p-meta span:nth-child(3) { display: none !important; } .blog .x-header-landmark { display: none; } .blog .x-container.max.width.offset { max-width: 750px; }November 11, 2016 at 9:39 pm #1254142
FriechModeratorHi There,
Thanks for writing in! That is because the logo (SocialNetMe) and the Navbar does not fit on small screen.
You can add this under Custom > CSS in the Customizer to address this issue.
@media (max-width: 400px) { a.x-brand.text { font-size: 32px; } }Cheers!
November 12, 2016 at 9:34 am #1254433
PhobbsiiiParticipantThank you so much! I figured it was something simple like this, I just wasn’t sure how to target that specific element.
November 12, 2016 at 10:11 am #1254454
ThaiModeratorIf you need anything else please let us know.
November 12, 2016 at 10:17 am #1254468
PhobbsiiiParticipantI actually have one more question. I am currently using
.blog .x-container.max.width.offset { max-width: 750px; }To shrink the width of my blog. How can I make it so that the inline logo/navbar is also at that max width? Also, how can I set it so that when you are on the blog page, the URL the logo directs you to is the blog rather than back to the home page.
November 12, 2016 at 11:09 am #1254507
ThaiModeratorHi There,
Please add the following CSS:
.blog .x-navbar .x-container.max.width, .blog .x-container.max.width.offset { max-width: 750px; }Also, how can I set it so that when you are on the blog page, the URL the logo directs you to is the blog rather than back to the home page.
Please add the following code under Customizer > Custom > Global Javascript:
jQuery(".single-post .x-brand").attr("href", "http://your-blog-url.com/blog");Hope it helps 🙂
November 12, 2016 at 2:32 pm #1254610
PhobbsiiiParticipantPerfect! Thank you so much!
November 12, 2016 at 11:16 pm #1254941
Rue NelModeratorYou’re welcome!
Thanks for letting us know that it has worked for you. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1253820 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
