v2.5.0
I have succesfully re-arranged the layout by changing template/index.tpl (http://www.ghostrecon.net/faq/index.php) however none of the changes I am making to color.css are being reflected in the site.
Am I missing something obvious? I am editing template/color.css to change background colors etc etc but there is nothing changing when I refresh the page.
Any ideas?
changing colors using color.css
Moderator: Thorsten
Re: changing colors using color.css
Insert the following line into the index.tpl
Code: Select all
<style type="text/css" media="screen">@import url(template/colors.css);</style>
Re: changing colors using color.css
I have a problem trying to change the background colour. In the previous version there was a main wrapper around the div containers that I could set to #000000 but now in v2.5.0 the wrapper styles seem to have gone.
The result looks like this.... http://www.ghostrecon.net/faq/index.php - there is grey areas showing, where I want the main body (748px wide) to all be black (like my previous version here) - is this possible?
Thank you.
The result looks like this.... http://www.ghostrecon.net/faq/index.php - there is grey areas showing, where I want the main body (748px wide) to all be black (like my previous version here) - is this possible?
Thank you.
Rocky.
-
- Posts: 35
- Joined: Thu Aug 20, 2009 8:34 am
Re: changing colors using color.css
Set to get a black background.
If you want to have it as high as your screen you must edit the height.
Code: Select all
#content { background-color: black; max-width: 741px; margin: auto; }
If you want to have it as high as your screen you must edit the height.
kind regards
Markus - phpMyFAQ 2.6.2
Markus - phpMyFAQ 2.6.2
Re: changing colors using color.css
Markus thank you very much for the reply, it worked!
I do not understand what you mean by this though.....
I do not understand what you mean by this though.....
If you want to have it as high as your screen you must edit the height.
Rocky.
-
- Posts: 35
- Joined: Thu Aug 20, 2009 8:34 am
Re: changing colors using color.css
With my screen resolution (1280x1024) #content is not filling 100% of the displayable height.R0CKY wrote:Markus thank you very much for the reply, it worked!
I do not understand what you mean by this though.....
If you want to have it as high as your screen you must edit the height.
kind regards
Markus - phpMyFAQ 2.6.2
Markus - phpMyFAQ 2.6.2
Re: changing colors using color.css
HI
I set my resolution to 1280x1024 and couldn't see anything wrong....?
I set my resolution to 1280x1024 and couldn't see anything wrong....?
Rocky.
-
- Posts: 35
- Joined: Thu Aug 20, 2009 8:34 am
Re: changing colors using color.css
The black background is as high as the content of the page and not always filling the display, what I expected you to want it like
kind regards
Markus - phpMyFAQ 2.6.2
Markus - phpMyFAQ 2.6.2