Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m not sure, I’d have to play with it. The .js file is under the Attorney theme folder so anything you add there could presumably be wiped out if you update the theme version. It does seem like it would be a lot of work. I’ll poke around to see if I can find anything simpler.

    FWIW, I was reading that the hamburger menu is not really good design. The Menu option is usually clearer for people.

    If you can edit javascript, I found where the “Menu” label is located. Inside the attorney theme folder, go to library -> js then open scripts.js file and on line #23(?), change Menu to something else. (I have not tried this by the way).

    As far as adding the hamburger button, I do not use that but found a Website that talks about doing it. https://www.w3schools.com/howto/howto_js_mobile_navbar.asp
    See if that helps.

    OK my disclaimer. If the change that I used to the Attorney theme file works for you, remember, it will most likely get wiped out if you update to a new version of the Attorney theme (if you did not already know this). I think there is a custom css file that you can use but I have not tried that so I don’t know how that works. If you are not familiar with editing the files, be careful because you can mess up your Website if you are not careful.

    What I did was change the padding for the menu items in the styles.css file. This is the section of the code I changed (in my file it was lines 963 – 971).

    “nav[role=navigation] .menu ul li {}
    nav[role=navigation] .menu ul li a,
    nav[role=navigation] .menu #menu-icon {
    font-family: “Lato”, Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    color: #363636;
    text-transform: uppercase;
    padding: 10px 10px;”

    I changed the last line “padding: 10px 20px” TO “padding: 10px 10px”

    This reduced the spacing between the menu items.

    I hope this helps.

    Thread Starter thpcoach0261

    (@thpcoach0261)

    Thank you CrouchingBruin that worked! What I don’t understand is what broke it in the first place. It worked at one time but I am not sure if it broke due to a plugin upgrade or a WP upgrade. Thank you for your time!

Viewing 4 replies - 1 through 4 (of 4 total)