0
Welcome Guest! Login
0 items Join Now

SOLVED Why is this custom css-file not working ?

  • SOLVED Why is this custom css-file not working ?

    Posted 10 years 9 months ago
    • www.framweb.se/afterburn25/
      Why is this not working ?
      I put a cusom css-file in directory: /templates/rt_afterburner2/css
      Named: rt_afterburner2-custom.css
      With this content:
      body {
          color: #000000 !important; 
      }
       
      .menu-block {
          margin: 56px 15px !important;
          padding: 0;
      }
    • Last Edit: 10 years 9 months ago by Jens Kirk.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Why is this custom css-file not working ?

    Posted 10 years 9 months ago
  • Re: SOLVED Why is this custom css-file not working ?

    Posted 10 years 9 months ago
    • no, everything is set to writable like above..
  • Re: SOLVED Why is this custom css-file not working ?

    Posted 10 years 9 months ago
    • sorry, the file I created was a x-generic instead of css, now fixed :)

      well, the bodycolor of the text is now overridden, but the menu on the top is still on the original place..
  • Re: SOLVED Why is this custom css-file not working ?

    Posted 10 years 9 months ago
    • so, now it works :-) put rt-top in front of .menu-block
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Why is this custom css-file not working ?

    Posted 10 years 9 months ago
    • Jens Kirk wrote:
      sorry, the file I created was a x-generic instead of css, now fixed :)

      well, the bodycolor of the text is now overridden, but the menu on the top is still on the original place..
      Clear your browser cache because it works fine for me.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Why is this custom css-file not working ?

    Posted 10 years 9 months ago
    • Jens Kirk wrote:
      so, now it works :-) put rt-top in front of .menu-block
      That's not it as .menu-block alone works for me. Both rt-top and menu-block specify in two different ways your referring to that specific DIV. However since you have NO other menu-block on the page you don't need rt-top to add extra specificity to describe that DIV.

      Still think it was your cache :)
  • Re: SOLVED Why is this custom css-file not working ?

    Posted 10 years 9 months ago
    • ok :-) now I learned something new, thanks !
  • Re: SOLVED Why is this custom css-file not working ?

    Posted 10 years 9 months ago
    • Hey again, now I try to do this by custom.css

      Like this:
      #rt-logo-accent {
      position: none !important;
      z-index: 1;
      }

      66.7.215.34/~framwebt/lars/

      But not working, why ?
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Why is this custom css-file not working ?

    Posted 10 years 9 months ago
    • Jens Kirk wrote:
      Hey again, now I try to do this by custom.css

      position: none !important;

      But not working, why ?
      Probably because this is an invalid CSS code line -> Property Values

Time to create page: 0.056 seconds