OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

VehicleManager component support

Go to bottom Favoured: 0

Title Length

davec (User)
Junior Boarder
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Title Length 7 Years, 5 Months ago
Karma: 0  
Hi


I have a J3 site and a cateory for used cars. The cars are displayed as a grid. as you can see on this page

The titles are quite short and some are followed by ... Is there a way to increase the title length? I have found the text within the view template but not sure how to adjust the figures and also alllow text to wrap to the next line.

Code:

 <h4 class="titlevehicle">
             <a href="<?php echo sefRelToAbs($link); ?>" >
                <?php if(strlen($row->vtitle)>45) echo substr($row->vtitle,0,25),'...';
                else {
                    echo $row->vtitle;
                }?>
             </a>
          </h4>



Thanks

Dave
Logged Logged
The administrator has disabled public write access.
Taras (User)
Platinum Boarder
Posts: 2857
graphgraph
User Offline Click here to see the profile of this user
Re:Title Length 7 Years, 5 Months ago
Karma: 58  
Dear Dave,

Try delete: white-space: nowrap; in line 605 in vehiclemanager.css

Location:
mitchellsrenault.co.uk/components/com_vehiclemanager/includes/vehiclemanager.css

follow attached image

It will help you showing text on 2 lines.

Thanks
Taras
Logged Logged
The administrator has disabled public write access.
Go to top
»