InMotion Hosting Support Center

Open cart Category location

Category: Opencart

284 Points
2013-01-19 10:28 am EST

Hits: 499
Good morning Open Cart techs,

Yesterday I did some house cleaning with regard to my Categories on the HOME page.

The only thing I did was get rid of some of the old default subcategories and changed the name of one of my new categories. It immediately moved my categories to the top of my header, also looks like it changed the font size.

I usually do pretty good in the Style Sheet but as I have said before this particular one looks different to me and there are so many settings in the category section.

Please advise,

Which code do I want to move the Categories where I want. I can play around with the positioning once I know which coding to use.

Also please advise on the changing of Font size and style.

Thanks in advance.

You must login before you can ask a follow up question.

You must login before you can submit an answer.



5,889 Points
2013-01-21 10:24 am EST
Thank your for your question simonbk!

The categories are the following id.

<strong style="margin-left:20px;">id="categories"</strong>

The file you want is the following location where is says #categories on line 100.

<strong style="margin-left:20px;">public_html/test/catalog/view/theme/simple/stylesheet/stylesheet.css</strong>

You can add css for the id like the following to position the categories lower.

<strong style="margin-left:20px;">position: relative; top:80px</strong>

The code will look like this:

<strong style="margin-left:20px;">#categories{float:right;width:auto;border-right:1px solid #ececec;position: relative;top:80px}</strong>

Make sure you don't delete any attributes in the css as it may break the menu. You can also change the font there as well. Hope this helps.

James R

You must login before you can post a comment about this answer.

Like this Question?

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!