SlickNav icon indicating copy to clipboard operation
SlickNav copied to clipboard

Changing Arrow Display; Down Arrow On Parent

Open LTrane opened this issue 9 years ago • 2 comments

I would like a down arrow to display on the parent item when there is a sub menu (not a right arrow), and nothing to display on the child.

I have tried changing the values in my slicknav.js file from closedSymbol:"►",openedSymbol:"▼"

to closedSymbol:"▼",openedSymbol:"►"

or have it an empty value with nothing showing on the open

closedSymbol:"▼",openedSymbol:" "

but I did not see any change in the display.

I tried clearing out my cache. Is there something else I should do to get the desired result? Thank you.

LTrane avatar May 01 '15 19:05 LTrane

@LTrane, have you tried changing the closedSymbol and openedSymbol options when initializing the menu? http://codepen.io/ComputerWolf/pen/zGwJKj

ComputerWolf avatar Jun 08 '15 21:06 ComputerWolf

Thanks Josh. I found that there was a custom.js script in the website template I was using which contained → and ↓ that was overriding the slicknav.js

On Mon, Jun 8, 2015 at 2:01 PM, Josh [email protected] wrote:

@LTrane https://github.com/LTrane, have you tried changing the closedSymbol and openedSymbol options when initializing the menu? http://codepen.io/ComputerWolf/pen/zGwJKj

— Reply to this email directly or view it on GitHub https://github.com/ComputerWolf/SlickNav/issues/84#issuecomment-110138398 .

LTrane avatar Jun 08 '15 22:06 LTrane