By Kurtis Houser on Friday, 17 July 2015
Posted in Technical Issues
Likes 0
Views 658
Votes 0
I followed the instructions here for adding a custom css file to the EasySocial theme. However, the custom.css is loaded before the theme files so it's being overridden by the core theme files.

<link rel="stylesheet" href="http://localhost/itasteitsocial/templates/rt_anacron/html/com_easysocial/css/custom.css" type="text/css" />
<link rel="stylesheet" href="http://localhost/itasteitsocial/components/com_easysocial/themes/wireframe/styles/base.css" type="text/css" />
<link rel="stylesheet" href="http://localhost/itasteitsocial/components/com_easysocial/themes/wireframe/styles/style.css" type="text/css" />
<link rel="stylesheet" href="http://localhost/itasteitsocial/components/com_easysocial/themes/wireframe/styles/more.css" type="text/css" />


It's a local dev site so I can't provide a link. Is anybody else experiencing this issue?

Thanks.

Kurtis
Try to upload this into /administrator/components/com_easysocial/includes/document/helpers/ and let me know how this goes
·
Friday, 17 July 2015 15:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Kurtis Houser,

I am really sorry for the delay of this reply as it is a public holiday for us here.

It should be okay one, because I tested in my locally override the Easysocial toolbar color, it seems work fine.

Take a look of my screenshot below.

If still can't, perhaps you can provide us with your custom.css file, so I can test it on locally and see is it work?
·
Friday, 17 July 2015 11:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

It works for you because you're using !important. Correct?

The custom.css file is the first one loaded so duplicate selectors in any files loaded after will override it.

Referring to the attached image, toolbar.css is overriding my custom.css.
·
Friday, 17 July 2015 15:34
·
0 Likes
·
0 Votes
·
0 Comments
·
That fixed the problem.

Thanks!
·
Friday, 17 July 2015 16:00
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome I will try to add this fix in the next release.
·
Saturday, 18 July 2015 16:08
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post