LadyNin Posted September 20, 2019 Share Posted September 20, 2019 Hi, I would like to change the background and replace with an image of the "begin the perfect search for your domain here" section on the home page. I found this thread but changing any of the CSS in either custom.css or styles.css makes no difference to my content. I even tested changing just the background colour but no changes. And tested in different browsers in case it was a caching issue but it isn't that. Any assistance on what I am missing greatly appreciated. 0 Quote Link to comment Share on other sites More sharing options...
LadyNin Posted September 23, 2019 Author Share Posted September 23, 2019 I managed to get it working. Thx. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 23, 2019 Share Posted September 23, 2019 are you using a custom theme ? adding that code to custom.css should work if using Six (it might need !important) - styles.css is no longer referenced, so changes to that should make no difference. 0 Quote Link to comment Share on other sites More sharing options...
LadyNin Posted September 24, 2019 Author Share Posted September 24, 2019 Thank you for the reply. It only seemed to work once I put the image directly in the CSS folder. Linking to the image when it was in any other folder wouldn't work. I was hoping you could also assist me with replacing the company name with a logo. I found the previous thread and have put this in my code but still no success. My image is called logo.png and it is in the img folder. Quote alternatively, you code modify header.tpl ~ line 96 and change the image filename specified in the code... <a href="{$WEB_ROOT}/index.php"><img src="{$WEB_ROOT}/templates/{$template}/img/logo.png" alt="{$companyname}" /></a> I don't have WHMCS installed at root level so I changed the code to this but still no success. Any suggestions greatly appreciated. <a href="{$WEB_ROOT}/index.php"><img src="{$WEB_ROOT}/clientportal/templates/{$template}/img/logo.png" alt="{$companyname}" /></a> Thanks, Lady Nin 0 Quote Link to comment Share on other sites More sharing options...
LadyNin Posted September 24, 2019 Author Share Posted September 24, 2019 I've managed to get the logo showing by removing the entire if else statement and just having the url to the image. 😮 <a href="{$WEB_ROOT}/index.php"><img src="{$WEB_ROOT}/templates/{$template}/img/mantralogo-med.png" alt="{$companyname}" /></a> 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.