Welcome, Guest
Username: Password: Remember me

TOPIC: How/Where To Apply CSS to a FrontEnd Layout?

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

  • iconvisual
  • iconvisual's Avatar
  • Offline
  • Senior Member
  • Keen Joomla! 1.7 Developer
  • Posts: 53
  • Thank you received: 5
  • Karma: 1
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.
The administrator has disabled public write access.

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

  • mossss
  • mossss's Avatar
  • Offline
  • Premium Member
  • Posts: 100
  • Thank you received: 7
  • Karma: 9
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
Last Edit: 06 Feb 2012 06:58 by mossss.
The administrator has disabled public write access.
The following user(s) said Thank You: admin, iconvisual

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

  • giori
  • giori's Avatar
  • Offline
  • Senior Member
  • Posts: 73
  • Thank you received: 14
  • Karma: 6
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 administrator has disabled public write access.
The following user(s) said Thank You: admin, iconvisual
Time to create page: 0.095 seconds

Get Started