J-BusinessDirectory - Style 8 Business Details Improvement

Support Forum

 
 

 

Not sure what is a reason to remove image background but in my opinion it doesn't look good to have very large black empty header which is takes large screen space  with very small rounded image for business. Is there way to have and add relevant business image on background, similar to other styles? Its more appealing and help promote/notice business rather than empty black space.

3 replies

I fixed and try this one too and did a lot of css testing b u t the menus doesnt work on mobile view so I gave up though I think this could be the best template for JBD if its corrected in future So you can fix this by adding custom css to joomla template but the JBD menus ie tabs is another story :)

Hi,

 

It seems that there is an issue with style 8 header.
Please edit components\com_jbusinessdirectory\views\companies\tmpl\default_style_8.php and around line 723 please replace the actual code with

<?php if(!empty($this->company->business_cover_image)) { ?>
        jQuery(".company-style-8-header-image").css({
            "background-image""url('<?php echo BD_PICTURES_PATH.$this->company->business_cover_image ?>')",
            "background-repeat""no-repeat",
            "background-size""cover",
            "background-position""center",
            "height""450px"
        });
        <?php } ?>

Ok thks will try that and see how it looks..

 
 
 

4 Item(s)

Show per page