J-BusinessDirectory - Default Cover Image?

Support Forum

 
 

 

Is there a way to set default cover image for all listings - I have set the image to not show when new lisitng is created but want a default cover image for all my listings.

3 replies

Hi Prof,

 

To achieve this you must override the company-style-5-header-image class. This is located in {joomla)/components/com_jbusinessdirectoryasstes/css/common.css file.


To override the class in a permanent way (in this way you can update the JBD component and you don't need to modify that class all the time) you must do the changes in custom.css file located in:


/joomla/templates/your_template/css/custom.css ... if you don't have custom.css file create one.


In that file you must write this:

.company-style-5-header-image {
background-image: url(the_path_to_your_picture.jpg);
}
and save.

If you do this and you don't have the option to upload cover on front-end then all the listing will have the picture you have placed above.
If you let the people upload the cover picture on front-end then all the business with cover uploaded will display that cover and the business with no cover uploaded will display the cover you have set above.

I hope this is helpful.
This is not an official answer.

PERFECT - thank you Slim that worked a treat :)



Awesome Smile

 
 
 

4 Item(s)

Show per page