0
Welcome Guest! Login
0 items Join Now

Editing CSS files in Duplicates of Master theme [closed]

    • d_rc's Avatar
    • d_rc
    • Jr. Rocketeer
    • Posts: 48
    • Thanks: 0

    Editing CSS files in Duplicates of Master theme [closed]

    Posted 12 years 10 months ago
    • Hi,

      I want to edit the body colours in the duplicate of the master theme assigned to a particular menu item. I created a duplicate to assign it to a particular menu item Gallery; the body of the theme (Diametric) can only take either of two values as set from the style, light or dark. What I want to do is edit the background colour for the body in that particular menu item only. I can change the body colour from body-dark/light.css, but that would affect each and every page in the whole website, and I don't want that.

      How do I apply a body colour (through css) to a specific menu item which has its own duplicated theme assigned to it?

      Any help is much appreciated!
    • Last Edit: 12 years 10 months ago by d_rc.
    • My newest creation - http://luckycompiler.com/
      My new creation - http://digitalfilbert.com/
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Editing CSS files in Duplicates of Master theme [closed]

    Posted 12 years 10 months ago
    • Use page class suffix to achieve that
    • Check my services at: Mihha-Vision
    • d_rc's Avatar
    • d_rc
    • Jr. Rocketeer
    • Posts: 48
    • Thanks: 0

    Re: Editing CSS files in Duplicates of Master theme [closed]

    Posted 12 years 10 months ago
    • Hi Igor,
      Thanks for your tip. But the thing is it is not working.
      When I apply the page class from the parameters section for that particular menu item, it is applied to the <body>. But the defining colour of the page is still specified by #rt_main_container which is applied to that specific div. If I add manually through firebug that class in that div, custom styling overrides #rt_main_container; I took help of this ( docs.joomla.org/Using_the_Page_Class_Suffix_in_Template_Code ) which too did not work.

      So can you please guide me in what I am missing.

      Thanks!
    • My newest creation - http://luckycompiler.com/
      My new creation - http://digitalfilbert.com/
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Editing CSS files in Duplicates of Master theme [closed]

    Posted 12 years 10 months ago
    • URL to that particular page?
    • Check my services at: Mihha-Vision
    • d_rc's Avatar
    • d_rc
    • Jr. Rocketeer
    • Posts: 48
    • Thanks: 0

    Re: Editing CSS files in Duplicates of Master theme [closed]

    Posted 12 years 10 months ago
    • Hi Igor,
      I would have given you access the first time I made a post had it been online but I still am tinkering in localhost so unfortunately won't be able to provide you with a link. If there is anything that I am missing in particular and if you can help me out with regards to that I look forward to your suggestions.

      Thanks for taking time out to look into my query.

      Regards!
    • My newest creation - http://luckycompiler.com/
      My new creation - http://digitalfilbert.com/
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Editing CSS files in Duplicates of Master theme [closed]

    Posted 12 years 10 months ago
    • Unfortunately I can't suggest you anything valid until I see source code and get a chance to debug it online :oops:
    • Check my services at: Mihha-Vision
    • d_rc's Avatar
    • d_rc
    • Jr. Rocketeer
    • Posts: 48
    • Thanks: 0

    Re: Editing CSS files in Duplicates of Master theme [closed]

    Posted 12 years 10 months ago

Time to create page: 0.073 seconds