HELP I WANT TO GET RID OF "LIST CATEGORIES"
Create unique look and build successful ecommerce website with eShop Joomla template.
- GK User
- Sat Mar 13, 2010 1:52 am
Hi ! every body,
I need help in eshop.com.
When I browse a category in virtuemart, I have something above the products called (list categories) (see image). I found what it was, but I really do not know what it is for and how to suppress it (what is the purpose of this ?)
I found that there is something to deal with PHPSHOP_CATEGORY_LIST_MNU.
And found it in the file /components/com_virtuemart/themes/default/templates/browse/includes/browse_header_category.tpl.php
I have the latest version (february, 2009).
here is the code :
it is not well aligned !!
I need to know what it is for and in order to know if I need to keep it. If I keep it, I would like to align it (but how).
Other solution get rid of it. (but how).
Thanks for your help
Christian
I need help in eshop.com.
When I browse a category in virtuemart, I have something above the products called (list categories) (see image). I found what it was, but I really do not know what it is for and how to suppress it (what is the purpose of this ?)
I found that there is something to deal with PHPSHOP_CATEGORY_LIST_MNU.
And found it in the file /components/com_virtuemart/themes/default/templates/browse/includes/browse_header_category.tpl.php
I have the latest version (february, 2009).
here is the code :
- Code: Select all
<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
mm_showMyFileName(__FILE__);?>
<div class="recenlts" >
<h3><?php echo $VM_LANG->_('PHPSHOP_CATEGORY_LIST_MNU') ?></h3>
<?php echo $navigation_childlist; ?>
</div>
<?php if( trim(str_replace( "<br />", "" , $desc)) != "" ) { ?>
<div style="width:100%;float:left;">
<?php echo $desc; ?>
</div>
<?php
}
?>
<div id="nagl">
<h3><?php echo $browsepage_lbl; ?>
</h3>
</div>
it is not well aligned !!
I need to know what it is for and in order to know if I need to keep it. If I keep it, I would like to align it (but how).
Other solution get rid of it. (but how).
Thanks for your help
Christian
-
- Expert Boarder
- GK User
- Sat Jul 24, 2010 11:42 am
Did you ever find a solution to remove 'List Categories?' I'm on hour 4 and out of ideas
-
- Fresh Boarder
- GK User
- Sat Jul 24, 2010 1:51 pm
I Found how to align it.
In
yoursite/templates/gk_eshop/css/browse_notables.css
Line 127
change
to
If you want to get rid of the whole title in the same file go to line 117,
Get rid of
should certainly work, but not sure. I haven't tried it.
Just tell me if it works.
In
yoursite/templates/gk_eshop/css/browse_notables.css
Line 127
change
- Code: Select all
.recenlts {
margin-top:10px;
}
to
- Code: Select all
.recenlts {
margin-top:0px;
}
If you want to get rid of the whole title in the same file go to line 117,
Get rid of
- Code: Select all
.feature, .recenlts {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent url(../images/prod_bg.png) repeat-x scroll 0 100%;
clear:both;
margin-bottom:2px;
padding:10px;
}
should certainly work, but not sure. I haven't tried it.
Just tell me if it works.
-
- Expert Boarder
- GK User
- Sat Jul 24, 2010 4:59 pm
To be more specific on the class, use this:
Anyway, your change works well, but with this way you are setting class only for VM.
Also, it's never a good idea to erase code on core files. Instead, i recommend that you use css:
Cheers
- Code: Select all
#vmMainPage .recenlts {margin-top:0}
Anyway, your change works well, but with this way you are setting class only for VM.
Also, it's never a good idea to erase code on core files. Instead, i recommend that you use css:
- Code: Select all
#vmMainPage .recenlts {display:none}
Cheers
-
- Platinum Boarder
- GK User
- Sat Jul 24, 2010 5:42 pm
You are right Seichinha. Your solution is much better because in case virtuemart is updated.
I am really not a pro and need help. I try things and try to learn.
Where do you write the code ? which CSS ?
Regards
I am really not a pro and need help. I try things and try to learn.
Where do you write the code ? which CSS ?
Regards
-
- Expert Boarder
- GK User
- Sun Jul 25, 2010 12:09 am
Seichinha wrote:
Thank you this worked
To be more specific on the class, use this:
- Code: Select all
#vmMainPage .recenlts {display:none}
Cheers
Thank you this worked
-
- Fresh Boarder
- GK User
- Sun Jul 25, 2010 12:16 am
Where do you paste this code ? which file ??
Thanks
Thanks
-
- Expert Boarder
- GK User
- Sun Jul 25, 2010 12:29 am
it's in css/vm/browse_notables.css
-
- Fresh Boarder
- GK User
- Sat Apr 23, 2011 1:08 pm
Hi fellas, i have a question related to the issue you are discussing here.
I dont want to remove this #vmMainPage .recenlts function, quite the opposite actually, i want to multiply it.
Simply said, i have changed the image path and made my own "banner" instead of the "list categories" banner.
So i have my own custom sized headline image in the same position. However, i want to make it so that each category(which all use browse_notables.css) has its own banner. Meaning, if the path to the current "list categories" banner in the brows_notable.css is mystore/images/vm/....png, i want each of my menu categories to link to their own image, image1.png, image2.png. I know this requires some customization, but im just wondering if any of you guys know of a simple way to do this. Maybe duplicate the codes in the browse_notables.css and specify which one to use in the menu items? i dont know..
I dont want to remove this #vmMainPage .recenlts function, quite the opposite actually, i want to multiply it.
Simply said, i have changed the image path and made my own "banner" instead of the "list categories" banner.
So i have my own custom sized headline image in the same position. However, i want to make it so that each category(which all use browse_notables.css) has its own banner. Meaning, if the path to the current "list categories" banner in the brows_notable.css is mystore/images/vm/....png, i want each of my menu categories to link to their own image, image1.png, image2.png. I know this requires some customization, but im just wondering if any of you guys know of a simple way to do this. Maybe duplicate the codes in the browse_notables.css and specify which one to use in the menu items? i dont know..
-
- Expert Boarder
9 posts
• Page 1 of 1