Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

CSS overrides not applying

6 years 3 months ago
  • Robby's Avatar
    Topic Author
  • Robby
  • Offline
  • Fresh Boarder
  • Posts: 79
  • Thank you received: 0
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi,

I added the code below as instructed here: documentation.jomsocial.com/wiki/Customi..._the_Override_Folder

: @import url("../../../../../components/com_community/templates/jomsocial/assets/css/style.css");

The changes are not applying . Could someone kindly take a look?

6 years 3 months ago
Licenses:

HI, Robby.

Thank you for contacting us.
IMHO that's not a good approach - better will be to just override CSS styles with class chains.
This was explained few times on the forum: www.jomsocial.com/forum/templates-themes...m-css-problem#183583


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
6 years 3 months ago
  • Robby's Avatar
    Topic Author
  • Robby
  • Offline
  • Fresh Boarder
  • Posts: 79
  • Thank you received: 0
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi Michal,

The information in the forum doesn't help. Since i'm following the JomSocial documentation, could you investigate the issue according to the steps in the document? If this isn't the best practice then could you have the documentation updated with clear instructions?

6 years 3 months ago
Licenses:

HI.

Documentation is correct and path is as well.
I just mentioned that I personally prefer other solution - with overrides.

You mentioned taht changes are not applied. But what changes you mean? The purpose of importing JomSocial css is to load all necessary JS styles into new file.
But you need to have override file: Override File: JOOMLA/templates/yourTemplateName/html/com_community/css/style.css

Even then you need to override JS css styles with chains of classes. If class styke was declared once, it won't be replaced if you declare it again in the same way e.g

there is original code:

.joms-button--signup {
    width: 100%;
}

and you declare:
.joms-button--signup {
    width: 50%;
}

Your class will be ignored, unless you use !important or create chain like this:
.joms-landing  .joms-button--signup {
    width: 100%;
}

And that's' why I prefer simple override than importing css.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
6 years 3 months ago
  • Robby's Avatar
    Topic Author
  • Robby
  • Offline
  • Fresh Boarder
  • Posts: 79
  • Thank you received: 0
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi Michal,

What is "important!"? The documentation doesn't have anything about the chains and i'm not familiar with that process so I'm sticking to the documentation. Here are some of the codes that aren't applying:

.joms-media {
background: #8cc63e1a;
padding: 14px;

}

.joms-blankslate {
padding: 14px;
background: #8cc63e1a;
color: #2c3e50;
display: block;
text-align: center;
}
.joms-comment {
background: #8cc63e1a;
margin: 0;
padding: 0;
}

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW