Author Topic: easy-spoiler - styling in php file  (Read 7329 times)

geekanddiva

  • Tadpole
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
easy-spoiler - styling in php file
« on: August 27, 2011, 05:28:53 PM »
I'm liking the look of this plugin but while testing it I find I can't change the styling as I would like. Am I right that certain style elements are inside easy-spoiler.php rather than easy-spoiler.css?  For example, titlea text-size=120%?  What's the best way round this? 

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: easy-spoiler - styling in php file
« Reply #1 on: August 27, 2011, 08:01:57 PM »
You are correct.  The goal was to provide settings in the admin panel for all of the elements being overruled by the php-generated rules but font size was one that didn't make it.  What are some of the rules you need to tweak?

Ill just release an update with more admin options

geekanddiva

  • Tadpole
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: easy-spoiler - styling in php file
« Reply #2 on: August 28, 2011, 03:34:06 PM »
Thanks so much - as far as I can see, it's only the font that's in the php file that I want to change.  It took me a while to find the source of some colours showing up even when easy-spoiler.css was disabled, but it turned out to be my theme's th and td style displaying, since th and td are not defined in easy-spoiler.css.  I'm sure I can sort that out. 

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: easy-spoiler - styling in php file
« Reply #3 on: August 28, 2011, 03:40:50 PM »
What about the font did you want to change?  A new update was just sent out and size and bold are now settable in the admin panel

geekanddiva

  • Tadpole
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: easy-spoiler - styling in php file
« Reply #4 on: August 28, 2011, 04:01:59 PM »
I wanted 100% not bold, so that's covered now, thank you.  I really appreciate your quick response.

I want to modify the border styles in easy-spoiler.css (I really don't like the dashed line in thick black). but can I still style colours from the admin panel?  And I guess I just need to keep a backup of my modified easy-spoiler.css and re-edit whenever there's an update to the plugin? 

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: easy-spoiler - styling in php file
« Reply #5 on: August 28, 2011, 07:47:09 PM »
oh, yeah in the short term you will have to.  Note the css files changed in this build, so you will not be able to just drop the old files in.

Ill add the ability to customize the borders in the next update.  Give it a week or two for this one to settle and Ill add it.

Can you provide a link to a page that has the border problem?  I'd like to understand what rule is being picked up to do that.

geekanddiva

  • Tadpole
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: easy-spoiler - styling in php file
« Reply #6 on: September 08, 2011, 03:08:55 PM »
Sorry for the delay ..

Thanks for allowing the font to be changed.  Now the only modification I need to the css file, to make it fit in well enough with my theme, is to remove
Code: [Select]
border-style:dashed; (.easySpoilerRow and .easySpoilerSpoils).

I'm testing on a private page as yet, so I can't point you to it, but would you like to see a screenshot of the dashed border as it shows up with the unmodifed css?  I would have thought it would show up the same for everyone but I'm happy to help!

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: easy-spoiler - styling in php file
« Reply #7 on: September 08, 2011, 06:51:36 PM »
No I'm familiar with it ;)

I'll get this in soon, thanks

 

anything