Fancy problem with style sheet background in Admin view

Please report bugs here!

Moderator: Thorsten

Post Reply
carNAVi
Posts: 5
Joined: Wed Jun 30, 2010 10:57 am

Fancy problem with style sheet background in Admin view

Post by carNAVi »

Hi again,

I almost finished my setup and customization of the FAQ and it is really awesome. But I have a hopefully last small problem.

I inserted a background image in the CSS (style.css) like this:

Code: Select all

/*	General	*/
body { font: .8em 'Trebuchet MS', 'Nimbus Sans L', sans-serif; padding: 1em; margin: 0; background: url(../../images/faqheader.jpg) no-repeat center top; }
and everything in the FAQ works fine after adjusting the positions etc.

A Problem occurs in the admin area. If I edit a faq or create a new one, this background image appears in the content area (see screenshot below):

Image

Does anybody have an idea, how I can solve this?

Greetings from Asia
Rose
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Fancy problem with style sheet background in Admin view

Post by Thorsten »

Hi,

the CSS is defined in this line of code: http://github.com/thorsten/phpMyFAQ/blo ... r.php#L132

So if you want to change this, you have to edit this line.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
carNAVi
Posts: 5
Joined: Wed Jun 30, 2010 10:57 am

Re: Fancy problem with style sheet background in Admin view

Post by carNAVi »

Hi Thorsten,

thank you so much for the tip.

I simply made a copy of the original style.css, named it style_admin.css and changed the referal in the file you noted.
Works perfect for me.

Greetings
Rose
Post Reply