- This topic has 5 replies, 2 voices, and was last updated 5 years, 6 months ago by
Support. This post has been viewed 1173 times
-
AuthorPosts
-
April 3, 2021 at 1:48 am #10037382
Magmo
ParticipantHello, on page blog-large-image-sidebar-left.html there is a treeview to the left. Is it possible to change the arrow thats in front of the text to another icon, or remove it completely for items that does not have anything to collapse?
Template Version: 8.3April 3, 2021 at 9:54 am #10037387Support
KeymasterHello,
First add a custom class in the nav list:
<ul class="nav nav-list flex-column mb-5 custom-nav-list">...
* This way make sure we will not affect other nav lists in the template.
To remove the arrow add in (css/custom.css):
ul.custom-nav-list.nav-list li a { padding-left: 0; } ul.custom-nav-list.nav-list li a:before { content: none; }If want to change the icon:
(css/custom.css):ul.custom-nav-list.nav-list li a:before { content: "\f061"; }* The content icon code I get from here at FontAwesome website:

We hope this helps!
Kind Regards,
Rodrigo.
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
April 3, 2021 at 6:17 pm #10037391Magmo
ParticipantThanks, this works for all items but I would only like to change/remove icon for li items that does not have any sub items. Hope this make sense…
April 5, 2021 at 10:38 pm #10037399Support
KeymasterHello,
Oh Right!
This way we need identify the items that has submenus. Here’s and example of nav list structure with identifiers:

And here’s the custom CSS code you need:
ul.custom-nav-list.nav-list > li:not(.has-submenu) a { padding-left: 0; } ul.custom-nav-list.nav-list > li:not(.has-submenu) a:before { content: none; } ul.custom-nav-list.nav-list > li.has-submenu ul li:not(.has-submenu) > a:before { content: none; }Hope this helps!
Kind Regards,
Rodrigo.
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
April 6, 2021 at 10:17 pm #10037420Magmo
ParticipantGreat, Thanks!
April 6, 2021 at 10:33 pm #10037423Support
KeymasterHello,
Great the issue is now resolved!
If you need further assistance, feel free to contact us.
Kind Regards,
Rodrigo.
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
-
AuthorPosts
This topic is marked as "RESOLVED" and can not rceive new replies.