- This topic is empty.
March 3, 2014 at 12:21 am #164532
Got issue with my off canvas responsive. When it reaches my breakpoints of 959px my menu header will not show its background?
And also my toggle not working also?March 3, 2014 at 4:45 am #164542
The toggle isn’t working, I suspect, because you do not have an
.activeclass defined for
#menuin your CSS.
Also, you should be
Preventing default(I think) since a link is being clicked..especially as it doesn’t actually go anywhere.
I think there is an argument for that not to be an ‘anchor’ at all, a
spanmight be better.March 3, 2014 at 7:29 am #164550
I add the menu active with transitions in the media query but still nothing very strange clicking works though but not showing menu and should be coming from left but coming from right?March 3, 2014 at 8:07 am #164552
I think you are confused about what it is the
.activeclasses are supposed be to doing.
For instance, why are you adding an
.activeclass to the
.container? All it does is move the container and I can’t see any reason for that.
On adding the ‘active’ class to the
#menushouldn’t it display the full menu…all you seem to be doing is using translate when, I think you should be changing the position values.
I would forget about the JS/JQ for now and concentrate on getting the design right at various widths. How the changes are applied is secondary.March 3, 2014 at 8:21 am #164553
I worked it out now you can look at it took me a while to make my own but did it.March 3, 2014 at 8:31 am #164555
Now just have to work it out how to make it come from the left just shows up blank when I change it to left in mobile viewMarch 3, 2014 at 8:57 am #164557March 3, 2014 at 9:18 am #164558
Thanks @Paulie_D Will have to practice some more I think. Been trying to do what you told me last time about position etc. Will also convert it into scss which I am learning. Just set up ruby and compass for foundation 5.March 3, 2014 at 10:03 am #164560
You might want to reconsider the SO question in light of our discussions.March 4, 2014 at 12:23 am #164619
Stack OverflowMarch 4, 2014 at 2:36 am #164623
No hassle just a friendly note. :)March 5, 2014 at 2:43 am #164742
- The forum ‘CSS’ is closed to new topics and replies.