Post by magisterson » Mon Feb 19, 2018 2:50 am

Hello! I need to change categories structure. Now it looks like this:

Code: Select all

<div class="list-group">
	<div class="category_title">Categories</div>
		<a href="category_link" class="list-group-item active">Category 1</a>
                        <a href="category_link" class="list-group-item"> - SUB-CATEGORY 1</a>
                         <a href="category_link" class="list-group-item"> - SUB-CATEGORY 2</a>
		<a href="category_link" class="list-group-item">Category 2</a>
               <a href="category_link" class="list-group-item">Category 3</a>
</div>
I need to create subcategories using <ul> <li> to have menu tree. Now i am not able to style subcategories using css. Subcategories now are only with minus symbol "-"

New member

Posts

Joined
Tue Jul 23, 2013 10:15 pm

Post by straightlight » Mon Feb 19, 2018 4:25 am

No URL posted. OP possibly requires CSS changes.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by magisterson » Mon Feb 19, 2018 4:31 am

Localhost machine. it's default OC 2.2.0.0 template.

I already made it but I have other problem. How to hide other MAIN categories (first position in menu tree) if I go to sub-category? If I'am in the subcategory I want to show only subcategories and mother category.

My category tree has only 2 levels: main, and sub-category.

New member

Posts

Joined
Tue Jul 23, 2013 10:15 pm

Post by paulfeakins » Mon Feb 19, 2018 6:50 pm

magisterson wrote:
Mon Feb 19, 2018 4:31 am
Localhost machine.
Put it on an accessible link somewhere and someone might be kind enough to fix it for you. No progress is going to be made trying to describe the CSS in words - let's get to the code.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Active Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by straightlight » Tue Feb 20, 2018 1:20 am

There is also the unlimited categories extension you can use from the Marketplace.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: webarbeiter and 25 guests