Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak sidebar toggle button? #91

Closed
dcernst opened this issue Feb 6, 2015 · 3 comments
Closed

Tweak sidebar toggle button? #91

dcernst opened this issue Feb 6, 2015 · 3 comments

Comments

@dcernst
Copy link

dcernst commented Feb 6, 2015

I apologize that this isn't exactly an "issue". I'm trying to tweak the style of the sidebar toggle button and I can't figure out how to do it. I created a website for my department's seminars and a few people complained that it wasn't obvious where to find the menu. The proposed fix was to replace the triple-equals with the word "MENU" (or similar). Any help would be greatly appreciated. The site in question can be found here.

@eaglerockdude
Copy link

I am using Lanyon to redo my WP blog. If you look at the readme, it looks like the non-sliding menu is a different template.

Lanyon with red theme

Lanyon with red theme and open sidebar

Meaning i suppose you could modify the sliding one(look at the non-slider as an example) but I would think just using the other might be simpler.

@eaglerockdude
Copy link

You got me curious. This is very "hacky" but if you go into the lanyon. CSS...and for content(see below) put the value Menu...and play with the display attribute...you can get the word Menu to show instead of the checkbox icon.

This is the CSS class in lanyon.css to look for:
sidebar-toggle:before {
/* display: block; */
content: "Menu";
width: 100%;
padding-bottom: .125rem;
border-top: .375rem double;
border-bottom: .125rem solid;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

@mdo
Copy link
Member

mdo commented Apr 19, 2015

Yup, you'll want to modify the .sidebar-toggle:before. I can't help much with that here though without diving into it a bit more, but removing the border-top and border-bottom, and changing the content: "" to content: "Menu" should suffice.

@mdo mdo closed this as completed Apr 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants