OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: Title Length
#22567
davec (User)
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Title Length 1 Month, 2 Weeks 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.
#22573
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:Title Length 1 Month, 2 Weeks ago Karma: 55  
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
What are you looking for?
Anti-spam question: How many eyes has a typical person?