1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I remove gradients?

Discussion in 'XenForo Questions and Support' started by wii, Oct 6, 2010.

  1. wii

    wii Active Member

    I see gradients everywhere, and it doesn't match the style I'm working on, how do I remove them?

    Thanks
     
    anotheralias likes this.
  2. Onimua

    Onimua Well-Known Member

    Go to Appearance->Templates. Look for xenforo_data_table.css- That should be what you're looking for.

    The Gradients are all defined in the CSS (they should show up easily in the tabs above the editor). Just edit them out from the sections you don't want them.
     
    anotheralias likes this.
  3. CyberAP

    CyberAP Well-Known Member

  4. wii

    wii Active Member

    Hmmm, gradients are hardcoded into the files, that's not good.

    Ok, keep working.....
     
  5. Erik

    Erik Well-Known Member

    No, in many cases they are in the style properties system, in the "image" field of the background property. :)
     
  6. Elizabeth

    Elizabeth Well-Known Member

    Actually it makes it easier...using css3.
     
  7. anotheralias

    anotheralias Well-Known Member

    I'm glad you asked, I don't like gradients either.
     
  8. wii

    wii Active Member

    Well, for the time being I just removed all the gradients in the style folder, so I can continue work on the site.
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    Moved to general support as this is not a resource.
     
  10. Bram

    Bram Well-Known Member

    Where to change the background image of the navbar and the subnavbar?
     
  11. anotheralias

    anotheralias Well-Known Member

    How did you do that exactly? Delete the images?
     
  12. wii

    wii Active Member

    Yes
     
    anotheralias likes this.
  13. anotheralias

    anotheralias Well-Known Member

    Thanks so much - worked like a charm. :)
     
  14. Kier

    Kier XenForo Developer Staff Member

    You're server will be going beserk with 404 errors though.
     
    CyberAP likes this.
  15. anotheralias

    anotheralias Well-Known Member

    Ah hell. Well, I guess I had better put it back - thanks for letting me know! :)
     
  16. anotheralias

    anotheralias Well-Known Member

    That was very helpful - thanks! (Easier than I thought it would be!)

    Well not as easy as just deleting them :D but a close second.
     
  17. dieketzer

    dieketzer Well-Known Member

    i reckon it would be great if these gradients such as @primaryLightest were visible in the ui somewhere rather than requiring a nonintuative template edit.
     
  18. bambua

    bambua Well-Known Member

    A lot of them are in the Style Properties, under background images. I know it's been said multiple times the style properties area isn't done yet. I'm really hoping to see the rest of the color areas and other adjust from the CSS files make it over there.
     
  19. feldon30

    feldon30 Well-Known Member

    Editing CSS files is not "hard-coded". Why don't you just take the gradients into Photoshop or some other program and adjust them to match your style?

    I think we'll see more items in Style Properties, but not everything.
     
  20. wii

    wii Active Member

    There are hardcoded stuff in the templates, but I'm sure the next versions will fix that.
     

Share This Page