ThemeBurn Support › Forums › OpenCart Themes › BurnEngine › Megamenu category image formatting and brand links
This topic has been marked as not resolved.
Hi, I have been using burn engine for a while but I have recently started experimenting with the built-in megamenu and I am having a slight problem with 2 aspects of it, I am just wondering if you can offer assistance or an insight as to where I can modify code…. 1. Category images are not aligned correctly and do not link to the category pages
this works well on desktop but not very well on the mobile and tablet views, I have attached screenshot of desktop and mobile view so you can see how the category images appear. Also the website can be seen working live at http://sure-sleep.com 2. Brand images link through to “/category/brand/” and not just “/brand/” as I would like It appears there is a file called special.tpl that is missing from the default theme folder, however I am not too fussed about getting the category brand working and would be happy for these links just to show all products from the specific manufacturer. All of these can be tested by going to http://sure-sleep.com I can provide ftp and opencart admin details if you require them. Thanks,
|
|
December 14, 2016 at 6:10 pm #54322
|
|
Hi Danny, 1) Generally, category images were designed to work with subcategories. This is the reason the thumbnail goes to the right. You could fix the problem by adding this extra CSS:
The above CSS is scoped by a category. You could remove the first class if you want to apply this for all menus. 2) The two different brand links you’ve given as an example show different content. First one shows products filtered by brand and category and is a custom theme feature. The second link will show all your products filtered by brand only. We will need admin and ftp access, so we can check the PHP error issue. You can use hidepost to share private information with the support staff. BR, |
|
December 16, 2016 at 9:53 am #54413
|
|
Thankyou for clearing that up for me. But could you also let me know how I can get these subcategory images to also link through to the category page, just like the subcategory text does?
|
|
December 16, 2016 at 11:46 am #54424
|
|
Update: The same PHP error is occuring on both BEDS and MATTRESSES megamenu items, however with the BEDS dropdown it is simply adding a category before the brand which would be fine if the PHP error wasn’t occuring, however on the MATTRESSES dropdown, the brand icons are linking to: where my category is called mattresses, but i have no category called mattress and is quite a messy URL anyway Thanks, as I don’t really have a need to split the brands into categories |
|
December 16, 2016 at 2:42 pm #54426
|
|
Hi, 1) Here is some custom CSS that will make images clickable too:
Have in mind that this code is based on image height and should be modified, if height of the image is changed. 2) We see now that your theme/framework version is a bit old. We’ve already fixed an error that is related to the custom category and brand filter in the menu. Can you please update your theme? BR, |
|
December 21, 2016 at 5:12 pm #54564
|
|
I saw this thread and was interested if you do not mind.. I tried adding the custom CSS that will make images clickable too using height of 225px: .tb_megamenu li[data-thumb] > a { However, I did not have success with this, is there something else you might recommend? |
|
December 22, 2016 at 7:50 pm #54661
|
|
Hey, I just disabled the Megamenu so never mind.. |
|
December 23, 2016 at 3:22 pm #54680
|
|
@tacm222 If you still need that megamenu, open a new topic and provide the website url. |
|
December 29, 2016 at 12:45 am #54799
|
|
What’s the best way to update the theme? Download the latest copy and overwrite the old copy? or do you have an auto-installer type script? I am just always cautious when updating themes as I often edit code and this would obviously be lost with an update. |
|
January 21, 2017 at 12:14 pm #55687
|
|
Hi, Unfortunately, OpenCart does not provide an auto updater options. Copy and replace is the only way for the moment. If you haven’t touched any theme files, overwriting files should not be a problem. Theme settings are being kept. P.S. It is always good to have a working backup just in case. BR, |
|
January 24, 2017 at 1:35 am #55774
|
- You must be logged in to reply to this topic.