Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

How/Where To Apply CSS to a FrontEnd Layout? 06 Feb 2012 05:04 #1177

  • iconvisual
  • iconvisual's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Keen Joomla! 1.7 Developer
  • Posts: 53
  • Thank you received: 5
Hi All,

I have scoured the Forum but could not find a "for dummies" answer. I have a brilliant CSS style that I would like to apply to a Front End Layout.

1. Where should I create/edit the CSS file?

2. Are there any special considerations I should be aware of?

I wish to use www.emblematiq.com/lab/niceforms/demo/niceforms.html (NiceForms v2) as an example (if that helps?).

Thanks for listening and hope that someone can shed some light on my "For Dummies" question of the day.

Regards,

Edward.
Keen Joomla! and PHP/MySQL developer. Excited about J-Cook.

Please Log in or Create an account to join the conversation.

Re: How/Where To Apply CSS to a FrontEnd Layout? 06 Feb 2012 06:53 #1178

Look in the

components/your_component/CSS folder

Here you should find a your_component.CSS file.

This is where any styles that you applied to the front end of your component from within the builder will be. You can also put any new styles that you would like to apply in here and then edit your views to use these styles. So, you would just take the styles from that Niceforms.CSS, copy them into that your_compenent.CSS file and then you can use these.

I think this is the best place to put them
The following user(s) said Thank You: admin, iconvisual

Please Log in or Create an account to join the conversation.

Last edit: by mossss.

Re: How/Where To Apply CSS to a FrontEnd Layout? 06 Feb 2012 08:09 #1179

You can strip almost everything from the default your_component.css and toolbar.css except 2 or 3 positioning css, so that a global Joomla template can easily be applied.
The following user(s) said Thank You: admin, iconvisual

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.087 seconds

The j-cook project is one of the best of its kind and it is nice that we all try to contribute in little ways to make life easy for each other.

vlemos (Forum)  

Get Started