Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • dpchap015 Friend
    #197571

    I am using Onepage on my joomla 3.2.2 and i use 3 different themes of JA_Onepage.

    My question is, how can i apply custom css to a particular module that is common for all the themes to generate different visuals.

    For eg: for the map -> <div class=”section onepage map section6″ id=”map”>
    how can i create and additional class say “background” can put different values for themes: retro, metro and modern.

    TomC Moderator
    #534379

    You should be able to create the custom CSS rules by figuring out if the various themes have their own CSS classes specific to that color theme (i.e. “.retro” or “.modern.”), and then simply creating the custom.css rule relative to the theme (i.e. “.retro.logo”)

    dpchap015 Friend
    #534619

    Hi Tom,
    Thanks for the reply.
    <em>@TomC 426260 wrote:</em><blockquote>creating the custom.css rule relative to the theme (i.e. “.retro.logo”)</blockquote>

    So this should be where exactly:
    1) ja_onepage/css/custom.css
    2) ja_onepage/themes/retro/css/custom.css

    If you mean the 1st one, there is no css that is specific to any color theme (.retro) that could allow me to cascade css with a specific property for a specific element (.retro .logo {} ; ). All the themes have their own template.css in the respective folders as “/css/themes/retro/template.css”

    If you mean for the 2nd one, i have already created the custom.css in “/css/themes/retro/” with the appropriate properties name but the custom css form these folders never get called.

    I also tried adding a call to this custom css in the ja_onepage/css/custom.css as “@import url(/themes/retro/custom.css);” but this doesn’t work either.

    Regards.

    TomC Moderator
    #534649

    It should be put within the file path /templates/ ja_onepage/css/custom.css

    Can you share an example of a CSS class you are trying to create that doesn’t seem to be working?

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  TomC 10 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum