Tagged: align, layout, menu, text, woocommerce
-
AuthorPosts
-
November 28, 2017 at 2:11 pm #882692
Hi Kriesi-Team.
Is there a possibility to get the same look of a Woocommere sidebar menu on the whole menu structure?
At the moment I get a menu layout for the categories, which includes seperated background color an right aligned text (which I would prefer as standard menu layout).
When I get on the single products, the menu looses the background color and the text is aligned left.Both (the categories and the single products) got the same “Shop overview page”-widget of Woocommerce to be used.
Please see further details in the private content area.
Thanks for your help. :-)
Greetings,
ManuelNovember 30, 2017 at 10:46 am #883320Hi Kriesi-Team.
Second try. :-)
I guess, your just very busy at the moment, so this should just be a try to “keep in mind”.Thanks for your help.
Greetings
ManuelDecember 1, 2017 at 5:40 am #883693Hi Manuel,
Sorry for the late reply. The .htaccess details are not working, could you check and verify that they are working please?
Best regards,
RikardDecember 4, 2017 at 9:53 am #884558This reply has been marked as private.December 5, 2017 at 5:57 am #884916December 5, 2017 at 9:29 am #884952Hi Rikard.
Please see my info in the private content area, too. :-)Thanks and greetings
ManuelDecember 6, 2017 at 7:24 am #885393Hi,
Ok, that worked better. I think we have a function in place to correct that since capital W and P is the correct way of writing WordPress.
As for your problem; is it the grey background you want to remove when clicking one of the categories in the sidebar?
Best regards,
RikardDecember 6, 2017 at 9:37 am #885449Hi Rikard.
Perfect! :-) After reading the mentioned word the fifth or sixth time I also got the idea, that upper- and lowercase letters are just autocorrected.
Please see my infos in the private content.
Thanks a lot for your patience and help.
Greetings
ManuelDecember 7, 2017 at 4:45 am #885899Hi,
Ok, thanks for the feedback. Let’s start off with the background colour, let me know if this works out for you:
.sidebar .menu-item-has-children .sub-menu { background-color:#ddd; }
Best regards,
RikardDecember 8, 2017 at 10:09 am #886395Hi Rikard.
Step by step – good idea. :-)
Thanks for the code. It worked very well in that way, that I now know, I don´t want a grey background anymore. :-)
By using the code I was able to see, that the sidbare menu is seperated in different areas (because the code didn´t work for all areas in the menu).
By combining it with another sidebarcode, which I´ve already got from your teammate Victoria, I could do some changes in that direction, the sidebar should look like – but I would need some further assistence please.
Please see the details in the private content area.
Thanks for your help and greetings.
ManuelDecember 8, 2017 at 11:54 am #886436Hi Manuel,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
#top .widget_nav_menu li { text-align: left; } .main_color .widget_nav_menu ul:first-child>.current-menu-item { background: #fff; }
If you need further assistance please let us know.
Best regards,
VictoriaDecember 8, 2017 at 12:08 pm #886442Hi Victoria.
Fantastic – the code works great.:-) And thanks for the quick answer.Do you think there´s a possibility for the third problem mentioned in my last post (selected category-word should be boldstyle or coloured when you are on a single product page)?
Thanks a lot and greetings.
Manuel- This reply was modified 7 years ago by Dataplus_gmbh.
December 8, 2017 at 8:32 pm #886603Hi Manuel,
There is now special class added to indicate the parent category and so there is no easy solution with css. There has to be logic that put that class there and that kind of customization is out of the scope of our support.
Best regards,
VictoriaDecember 11, 2017 at 10:36 am #887268Hi Victoria.
Ah ok, thanks for your reply.
You mean, the class is added by the woocommerce-plugin? Because no things in this project were added by an external service exept your support by this forum.Greetings
ManuelDecember 11, 2017 at 2:24 pm #887411Hi Manuel,
No, no class added by the theme to the menu. WooCommerce has nothing to do here.
Best regards,
VictoriaDecember 12, 2017 at 9:50 am #887797Hi Victoria.
So you mean: you added the new class for the parent directory with goodwill for my woocommerce-problem, but the further costumization is no more problem of your team? Am I right now? ;-)
Greetings
ManuelDecember 12, 2017 at 1:26 pm #887909Hi Manuel,
No, we did not add any class. We just gave you css to make it look like you need, but there is no indication of the current category in the widget and so we cannot give you css for that.
Best regards,
VictoriaDecember 12, 2017 at 1:55 pm #887932Hi Victoria.
Now I got your intention – in your first post for that topic (#886603) you wrote a “now” instead of a “no”. So I misunderstood your post. :-)
Ok, no problem. Of cause, that´s logic.So, I guess this thread can be closed – all I asked for and was done by you looks definately like it should. :-)
Greetings
Manuel- This reply was modified 7 years ago by Dataplus_gmbh.
December 12, 2017 at 3:57 pm #887977Hi Manuel,
Glad we got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.