Jump to content


Photo
- - - - -

CSS in base.css child theme not working


  • Please log in to reply
6 replies to this topic

#1 lsrdesign

lsrdesign

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 22 March 2011 - 11:26 AM

Hello, I have Platform Pro & Platform Pro Base installed. Base "child theme is active" when I edit css in base.css nothing happens? the child theme is importing the main theme ok and editing with firebug works. Its like the base.css is not overriding the main theme css any ideas?

#2 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 22 March 2011 - 01:35 PM

How are you editing base.css? And, are the changes saving, just not showing up?

#3 lsrdesign

lsrdesign

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 22 March 2011 - 06:01 PM

Hi Kate, In the base.css if I do * { display: none; } everything seems fine ie. nothing displays on page however if I do #page { background: transparent; } I still have the #page white background? if I write the same code in firebug, #page white background gone!

#4 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 22 March 2011 - 06:07 PM

What about `#page { background: transparent !important; }` does that work?

#5 lsrdesign

lsrdesign

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 22 March 2011 - 06:17 PM

No mate nothing, if I put the same code in the custom css box it works fine?

#6 eyeingi

eyeingi

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 22 March 2011 - 07:05 PM

hi... I'm new to this and this is my first site. I'm on my website and I press F12 and the firebug program comes up. I change a couple things with it and it works out on my page. I don't know how to save those changes though. Can you help me out. When I refresh the page it just goes back to how it was before.

#7 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 22 March 2011 - 08:25 PM

You have to copy/paste the rules that you change and put them into the base.css file of your child theme OR in the custom css box in the theme settings page - custom code panel