Author Topic: CSS  (Read 536 times)

jthunder

  • Newbie
  • *
  • Posts: 20
    • View Profile
CSS
« on: March 05, 2012, 06:11:49 PM »
Hello.
Is there an option somewhere to ignore my current template css settings and use what is built into simple-review instead.

I am currently using a gavickPro template and sometimes its not that great to run some extension on its own css.

Thanks,

row1

  • SR Sole Developer
  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Sockware
Re: CSS
« Reply #1 on: March 10, 2012, 11:20:18 PM »
Hi,

Sorry there is no option for this.

You would need identity the CSS in your template that is causing issues and then add the relevant rules in your Simple Review template.
If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!

jthunder

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: CSS
« Reply #2 on: March 11, 2012, 12:07:39 PM »
Sorry row1. Its not really a problem causing it not to work. Its more of cosmetics issues like fonts and presentation. Other extensions do have this option to bypass the template css and use their own. Just a thought. Thanks,

row1

  • SR Sole Developer
  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Sockware
Re: CSS
« Reply #3 on: March 13, 2012, 03:37:04 AM »
It is hard to say without knowing the exact issue, but you should be able to quite easily do it by modifying the Simple Review CSS in:
www/components/com_simple_review/templates/default/css/review.css

The review should already be wrapped in a Simple Review CSS class, so you should be able to do something like this:
Code: [Select]
.reviewContentContainer{
 font-family: wingdings;
 font-size: 20px;
 color: yellow;
}
If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!

jthunder

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: CSS
« Reply #4 on: March 13, 2012, 07:10:46 AM »
Thanks row1. Appreciate your reply. And yes, I know where the CSS is and I should be able to kind of tweak it. But, like my other extensions, I dont really want to make those kind of changes since later, I will forget what Ive done and soon with a new release or updates, they will all be overwritten and gone and I will scratch my head to find out where they are. At least with a bypass, I can just click it on or off which most of time solve some of the cosmetic issues.
Thanks though.

row1

  • SR Sole Developer
  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Sockware
Re: CSS
« Reply #5 on: March 14, 2012, 08:06:28 PM »
I understand your concerns, but I cant really provide CSS settings for templates as it would be difficult to determine which CSS classes a template supports.

As always, I would actually recommend not modifying the default template and to instead create you own template which is based on the default.
You can put something like "@import url('../../default/review.css") in your new template's review.css and then just have the overrides in your review.css.

Also, I don't think that SR should be overriding basic styles in your Joomla template, it really should just work no matter what the template. So either your Joomla template needs to be fixed, or perhaps SR is making some invalid assumptions. So perhaps you could provide me a list of what is wrong and how you can fix it. I can then look at this and see if I need to do some CSS resets in the default template.

If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!

jthunder

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: CSS
« Reply #6 on: March 15, 2012, 07:49:23 AM »
Thanks row1. I appreciate your reply.
Yes, actually you are right. I probably have to ask someone later to create an override or something for me. I am currently using a template from gavickPro v 2.7 (j2.5.x) and its pretty good and simple interface to look at. Just want all extension to look alike.
Thank you so much row1.
 

NRyan115

  • Moderator
  • Sr. Member
  • *****
  • Posts: 445
    • View Profile
Re: CSS
« Reply #7 on: March 15, 2012, 08:22:56 PM »
This is exactly what we would hope to accomplish with the current way we are doing things. If all extensions grabbed template information from joomla they would not only all look alike - but they would match the site.

This is one of the biggest complaints to some large extensions such as Virtuemart which often does not blend in well with a joomla template, especially if it has customized vertical menu attributes.

jthunder

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: CSS
« Reply #8 on: March 17, 2012, 10:34:55 AM »
Thanks NRyan, And that is exactly right. I had VM last 2 years and even AdsManager and it is not really working right for me despite of an expensive template I bought. Now, I have GavickPro, it seems its actually great. They are doing well on their templates. Most of my extensions are working better with gavick's CSS.

Of course there are a few that are persistent, but they also have overrides on their settings. Once I input the right CSS not heir settings, they do work and add a few highlights too.

About Simple-Review, it does work ok some way with gavick's template, but I can not change its CSS from gavick's. Need some good CSS designer to do it for me from the gavick's settings as opposed to changing the gavick's core or joomla's core. One thing I like about not touching the vendor's codes or even CSS, is I can always update without having to worry about the changes, hence the overrides and use settings instead.

Thanks,