0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

Add Templates Styles

  • Add Templates Styles

    Posted 13 years 10 months ago
    • Hi,


      My question is...
      Imagine a template haves 6 diferent styles (like entropy).
      But what if a user wants to make a new style without messing with any of the other 6?, well you thinking.. "go to the template admin, and click "save preset", but .. erhmm it wont solve the issue because this user want the style nº7 to have allot of CSS changes, more than the ones available at the template admin.. so... and remember the user dont want to mess with the other 6 styles.. cause.. who know.. maybe they will be handy in the future. So... can the user create a new CSS file to be used with his new style?
      Like .…. preset 1 to 6 uses style1.css to style6.css (wich you can mess with) now. the user wants preset7 to use style7.css . Is it possible and if so, how?


      Thank you guys!

      ps. is still have other topics that are left unsawered, common guys.. :cry:


      EDIT;
      If someone would be so nice than to explain what the diferent CSS files common in each template are for, why so many, if you feeling generous comment each one with why they exist;

      in template "entropy" there´s;
      demo-styles.css
      extensions-rtl.css
      extensions.css
      fusionmenu-rtl.css
      fusionmenu.css
      iphone-gantry.css
      joomla-rtl.css
      joomla.css
      splitmenu.css
      style1.css
      style2.css
      style3.css
      style4.css
      style5.css
      style6.css
      template-chrome-win.css
      template-firefox-win.css
      template-gecko.css
      template-ie6.css
      template-ie7.css
      template-ie8.css
      template-ie9.css
      template-opera-win.css
      template-opera.css
      template-rtl.css
      template-webkit.css
      template.css
      ypography-rtl.css
      typography.css
    • Antony Doyle's Avatar
    • Antony Doyle
    • Jr. Rocketeer
    • Posts: 38
    • Thanks: 0
    • Web designer, developer.

    Re: Add Templates Styles

    Posted 13 years 10 months ago
    • Hi.

      Adding a custom preset is a bit fiddly if you've never done it before. I'd try explaining it, but to be honest, you'll be much better off having a look at this;

      gantry-framework.org/documentation/jooml...omize/custom-presets

      That will pretty much walk you through it. :) It should work like that for all Gantry based templates.

      You're also in luck as I'm waiting for a download to finish, so;
      (rtl = right to left, for languages that run right to left. Hebrew and Arabic are examples, I think!)

      demo-styles.css - I think this is used for any custom CSS the RT guys use in their templates e.g, custom modules.
      extensions.css - Styling for the supported RT extensions (RokStories etc)
      fusionmenu.css - The menu styling.
      iphone-gantry.css - iPhone styling
      joomla.css - Standard Joomle elements, such as com_contacts and such *i think*!
      splitmenu.css - Menu again, but for the splitmenu feature
      style1.css - The preset styles
      style2.css
      style3.css
      style4.css
      style5.css
      style6.css

      template-chrome-win.css
      template-firefox-win.css
      template-gecko.css
      template-ie6.css
      template-ie7.css
      template-ie8.css
      template-ie9.css
      template-opera-win.css
      template-opera.css
      template-webkit.css
      - These all are for browser specific tweaks and rules for when the standard CSS rules are not supported. They're in separate files so that they are not loaded unless needed - or so I imagine :)
      template.css - The overall, main template CSS file.
      typography.css - Pretty self explanitory - all of your fonts and headings stylings :)

      If I've got any of the above wrong, I'm sure someone will jump in and correct me :)

      Hope this helps!
  • Re: Add Templates Styles

    Posted 13 years 10 months ago
    • Thanks allot thats was pretty helpfull

      Still got a question...
      I did the CSS file (actually copied one of them to test it out, renamed the copy to style7.css)
      Created the directory images/style7
      the new CSS file (style7.css) does show up on the list of CSS files under the jommla admin/template customization plane. BUT when i go into the template admin, under styles tab, the dopdown "CSS Style" dont show my file. so whem i choose my style7 that was supposed to work with style7.css , i guess it gets overwritten by the CSS file that is present that the dropbox... :(

      Question is, how to add the new CSS file to the dropdow selector ?
    • Antony Doyle's Avatar
    • Antony Doyle
    • Jr. Rocketeer
    • Posts: 38
    • Thanks: 0
    • Web designer, developer.

    Re: Add Templates Styles

    Posted 13 years 10 months ago
    • Hmm.

      I'm not sure without having a look, and I don't have any Gantry templates on my local server.

      I will have a look tomorrow when I get into the office and can access our dev server.

      :)
  • Re: Add Templates Styles

    Posted 13 years 10 months ago
    • Update:

      I was able to add the option editin template-options.xml and adding the line below to the dropbox in question.;

      <option value="style7">STYLE_7</option>

      BUT.... sorry guys... questions keep comming.
      the other option showup on the dropbox all shiny as ex: "Style 6" the new option comes up with a diferent look, wich is "STYLE_7" , why is that?

      Heres the line for the Style 6 ;

      <option value="style6">STYLE_6</option>

      so.. as you can see.... all i did was changing 6 to 7 and hope that is enought to call my style7.css file

      So... i still need help... i guess you guys should change my forum title to.. "the temp" or "FAQ to be" or maybe "what?"

      Question is.. why is it diferent... ?

      As always, i appreciate the help.
    • Antony Doyle's Avatar
    • Antony Doyle
    • Jr. Rocketeer
    • Posts: 38
    • Thanks: 0
    • Web designer, developer.

    Re: Add Templates Styles

    Posted 13 years 10 months ago
    • You may have to change or add something to the language file in the /admiministrator/languages folder.

Time to create page: 0.068 seconds