CSS Problem
+3
Rhino.Freak
TheCrow
Kaiyum
7 posters
Page 1 of 1
CSS Problem
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
Re: CSS Problem
First unselect the Yes that you added to the basic css and submit and then paste the code.
Re: CSS Problem
Hey thanks for the fast reply! Nothing happened though :(Still getting a blank (browser) page!
Re: CSS Problem
Dont deactivate the basic css, it will work even if it is enabled, because the css that you type is given priority.
Re: CSS Problem
Hi
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:
Regards,
Pizza Boi
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
- Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!
Re: CSS Problem
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!
Re: CSS Problem
Why do that when you can just press the link at any time?
The CSS stylesheet is for codes to override the basic CSS.
The CSS stylesheet is for codes to override the basic CSS.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: CSS Problem
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.
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.
Re: CSS Problem
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 again
Re: CSS Problem
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)
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)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum