The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

CSS Problem

View previous topic View next topic Go down

In progress CSS Problem

Post by Kaiyum on March 11th 2014, 6:04 pm

Hey there!Been trying to get the CSS Stylesheet to load the basic CSS of the forum so i can later then modify it but it doesnt seem to take it!I Deactivate Basic CSS,Then Copy and Paste the Basic CSS into my sheet and press Submit...And a pure white screen is all i can see Confused

Kaiyum
New Member

Posts : 7
Reputation : 1
Language : English

http://thegarden.forumotion.org/

Back to top Go down

In progress Re: CSS Problem

Post by Luffy on March 11th 2014, 6:24 pm

First unselect the Yes that you added to the basic css and submit and then paste the code.






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

In progress Re: CSS Problem

Post by Kaiyum on March 11th 2014, 6:42 pm

Hey thanks for the fast reply! Nothing happened though :(Still getting a blank (browser) page!

Kaiyum
New Member

Posts : 7
Reputation : 1
Language : English

http://thegarden.forumotion.org/

Back to top Go down

In progress Re: CSS Problem

Post by Rhino.Freak on March 11th 2014, 6:56 pm

Dont deactivate the basic css, it will work even if it is enabled, because the css that you type is given priority.

Rhino.Freak
Active Poster

Male Posts : 1243
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

In progress Re: CSS Problem

Post by vaccam on March 11th 2014, 7:05 pm

Can you provide us with a screenshot perhaps, and maybe your forum url?

vaccam
Forumember

Posts : 371
Reputation : 14
Language : Norwegian
Location : Norway

http://www.revengelesspk.com/

Back to top Go down

In progress Re: CSS Problem

Post by Kaiyum on March 12th 2014, 7:59 pm


Kaiyum
New Member

Posts : 7
Reputation : 1
Language : English

http://thegarden.forumotion.org/

Back to top Go down

In progress Re: CSS Problem

Post by vaccam on March 12th 2014, 8:02 pm

So ones you enter the CSS code, the whole Stylesheet goes white?

vaccam
Forumember

Posts : 371
Reputation : 14
Language : Norwegian
Location : Norway

http://www.revengelesspk.com/

Back to top Go down

In progress Re: CSS Problem

Post by Kaiyum on March 12th 2014, 8:07 pm

The whole page basically yeah....

Kaiyum
New Member

Posts : 7
Reputation : 1
Language : English

http://thegarden.forumotion.org/

Back to top Go down

In progress Re: CSS Problem

Post by vaccam on March 12th 2014, 8:08 pm

The ACP or the Forum it self?

vaccam
Forumember

Posts : 371
Reputation : 14
Language : Norwegian
Location : Norway

http://www.revengelesspk.com/

Back to top Go down

In progress Re: CSS Problem

Post by Kaiyum on March 12th 2014, 8:12 pm

Uhm the whole Tab! Like loading a big load of nothing Razz

Kaiyum
New Member

Posts : 7
Reputation : 1
Language : English

http://thegarden.forumotion.org/

Back to top Go down

In progress Re: CSS Problem

Post by Pizza Boi on March 12th 2014, 8:27 pm

Hi Very Happy

In regards to your first problem. It happened because you deactivated it. The best solution is just to make sure that the codes don't overlap each other.

Say, for example, you used .gensmall and there's a code for it already in the CSS, please just add !important after each command, like so:

Code:
td.catHead {
background-color: red !important
}

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

In progress Re: CSS Problem

Post by Kaiyum on March 12th 2014, 8:43 pm

Hey Pizza Boi!Well what i am trying to do is get the basic forum CSS code in the Style sheet in order to modify the parts i want and save the rest as is!

Kaiyum
New Member

Posts : 7
Reputation : 1
Language : English

http://thegarden.forumotion.org/

Back to top Go down

In progress Re: CSS Problem

Post by SLGray on March 12th 2014, 11:28 pm

Why do that when you can just press the link at any time?

The CSS stylesheet is for codes to override the basic CSS.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: CSS Problem

Post by Ange Tuteur on March 13th 2014, 1:36 am

Hello Kaiyum,

The reason you're unable to copy the basic CSS to your stylesheet is because it exceeds the CSS stylesheet character limit.

From my test, phpbb3 basic CSS contained 89,520 characters; the limit is 65,000 characters. I will suggest that you only choose the parts of CSS that you will be using to modify your forum style. Half the CSS in the basic CSS is not entirely for your forum, but for other features in your forum, like add this.

Furthermore, using the stylesheet overrides the basic style by default. Little time you will need to rely on important declarations, unless what you want to modify is already important itself. Using developer tools in the browser console [F12] should allow you to inspect your forum so you can find the selector you're looking for; preview your style also, if you have a style editor.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: CSS Problem

Post by Kaiyum on March 13th 2014, 9:36 am

@Ange Tuteur wrote:Hello Kaiyum,

The reason you're unable to copy the basic CSS to your stylesheet is because it exceeds the CSS stylesheet character limit.

From my test, phpbb3 basic CSS contained 89,520 characters; the limit is 65,000 characters. I will suggest that you only choose the parts of CSS that you will be using to modify your forum style. Half the CSS in the basic CSS is not entirely for your forum, but for other features in your forum, like add this.

Furthermore, using the stylesheet overrides the basic style by default. Little time you will need to rely on important declarations, unless what you want to modify is already important itself. Using developer tools in the browser console [F12] should allow you to inspect your forum so you can find the selector you're looking for; preview your style also, if you have a style editor.

Great! Checked the Dev Tools and saw that i can select-search the objects/parts of code i want to change!
Now for the newbiest Q of all...Can i simply add to the Stylesheet the altered parts of code i want or do i have to provide the full body as well?

Topic Marked as Solved for the Stylesheet Blanking Out - Please answer my last question regarding the "parts of code in stylesheet" Thanks againCool

Kaiyum
New Member

Posts : 7
Reputation : 1
Language : English

http://thegarden.forumotion.org/

Back to top Go down

In progress Re: CSS Problem

Post by Ange Tuteur on March 13th 2014, 10:50 am

Once you have written your code, you can copy it to your clipboard.


You'll then want to navigate to your admin panel stylesheet and add the code where you want.


Once you've done that, hit submit and the style should be saved. Just check to make sure it took effect, if it didn't, just edit your code and add important to the declaration that needs it. (you can usually see if important is needed via the style editor)

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum