You have bookmarked items
Jump To:
Viewing Topic "JBD not work with custom.css files anywhere? joomla way.."

3 Item(s)     Sort:  Newest Oldest

per page
 
  Post
Posted By: Oraphan Prungcharoen
Total Posts: 97
Joined Date: Apr 22, 2019

Hi

 

I tried to change the css background colour for the site with JBD business listings for black background and white text. Like

 

#sp-main-body {
    background-color: #000000;
    color: #ffffff;
}

 

I created in Joomla way the path to the html page for Joomla custom css files ie:

 

/domain/templates/templates/css/custom.css

/domain/templates/templates/html/com_jbusinessdirectory/css/custom.css

/domain/templates/templates/scss/custom.scss

 

Nothing works for custom changing the background colour and text for the site, JBD and the template.

 

How do I fix this?

Posted : Oct 8, 2019
Posted By: Mike Barr
Total Posts: 362
Joined Date: Jun 25, 2013

Hi, 

 

Since you're overriding value you should and !important to the end of the css like this. 

  1. background-color: #000000 !important;
    color: #ffffff !important;
Posted : Oct 8, 2019
Posted By: Oraphan Prungcharoen
Total Posts: 97
Joined Date: Apr 22, 2019

Thks got this working now and seem finally get it right :)

Posted : Oct 9, 2019

3 Item(s)     Sort:  Newest Oldest

per page
 

Viewing Topic "JBD not work with custom.css files anywhere? joomla way.."


      You have bookmarked items
Jump To:

Who is online

 
Users browsing this topic 1 logged customers:: 0 and guest 1 (based on users active over the past 5 minutes)