CSS question for active picture in the categories of VM2

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Feb 15, 2013 11:13 pm
Reply with quote
Report this post
I have difficulty with active images for categories of virtuemart 2. When I was on the main categories (level 1), the mouse is active on the text link to the category and also on the picture. When I'm on the sub, then only active text link - the image is not an active link. Please tell me how to change the CSS style, so the image can become active connection and level subcategories?
menu.png


Regards,
Milko
User avatar
Junior Boarder

Konrad M
Sat Feb 16, 2013 7:41 pm
Reply with quote
Report this post
Hi,
can you give me url to the page with second level images ?
User avatar

GK User
Sun Feb 17, 2013 2:27 am
Reply with quote
Report this post
Hi,
Please see this page (second level):
https://321.bg/25/%D0%BC%D0%B0%D0%B3%D0 ... 0%B5%D1%80
User avatar
Junior Boarder

Konrad M
Mon Feb 18, 2013 8:27 am
Reply with quote
Report this post
Please do one thing more for me. Go to html folder and then rename com_virtuemart folder for a moment. Then check if issue still exist.
User avatar

GK User
Mon Feb 18, 2013 10:54 am
Reply with quote
Report this post
Hi,
when I rename com_virtuemart folder, pictures are active links.
User avatar
Junior Boarder

Konrad M
Mon Feb 18, 2013 4:02 pm
Reply with quote
Report this post
Please go to html/com_virtuemart/category/default.php and find:
Code: Select all
<h2 class="catSub"> <a href="<?php echo $caturl ?>" title="<?php echo $category->category_name ?>"> <?php echo $category->category_name ?> </a> </h2>
                        <?php // if ($category->ids) {
                        echo $category->images[0]->displayMediaThumb("",false);
                     //} ?>


then please change it to:
Code: Select all
<h2>
                     <a href="<?php echo $caturl ?>" title="<?php echo $category->category_name ?>">
                        <?php echo $category->category_name ?>
                        <br/>
                        <?php // if ($category->ids) {
                        echo $category->images[0]->displayMediaThumb ("", FALSE);
                        //} ?>
                     </a>
                  </h2>
User avatar

GK User
Mon Feb 18, 2013 5:23 pm
Reply with quote
Report this post
Hi, Konrad.
Thanks for your help.

Best regards,
Milko
User avatar
Junior Boarder


cron