[GeoNetwork-users] Changing the style of geonetwork

Hi,

we have installed geonetwork and like to adjust the style of it. It was not
a problem to change the style of the banner, but how can we change the
background-color of the homepage (home (is still white); contact us, links
and about are still light blue).
Has anyone an idea?

Best regards,
Kerstin

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Changing-the-style-of-geonetwork-tp5739288p5739288.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi Kerstin,

this can be done by changing the main css file in /web/geonetwork/geonetwork.css .
There you find some sections of the page (e.g. td.banner-menu) where you can define color etc. of these elements.

Regards,
Christian

···

Hi,

thanks for the answer. Unforunately that does not help. When I select for
example "about" in the menu, the background of the window is still light
blue.
I think I have changed all relevant colors inj the geonetwork.css. Now there
is no color in the css, which is light blue. Is there another css file which
is responsible for the background color of the different pages?

Best regards,
Kerstin
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Changing-the-style-of-geonetwork-tp5739288p5743635.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

You´re right, Kerstin. This does not help. Here is the solution from one of
my collegues:

Changes for the light blue background colour can be done in the file:
\geonetwork\xsl\main.xsl

  <!--
  main page
  -->
  <xsl:template match="/">
    <html>
      <head>
        <xsl:call-template name="header"/>
        <xsl:apply-templates mode="script" select="/"/>
        
        <style type="text/css">
          body {
            background-color: #ffffff; /*alt #E4E9F1 */
            height:100%;

Greetings
Anja
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Changing-the-style-of-geonetwork-tp5739288p5765784.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

hi

in general, if you wish to change a color or style like that, a good idea is
to use the Firefox extension "Firebug" which lets you very easily find out
in which CSS file (or inline, as in the code below) is the definition of the
style you're looking to change.

Kind regards
Heikki Doeleman

On Tue, Nov 23, 2010 at 9:09 AM, Anja <moonbeam@anonymised.com> wrote:

You´re right, Kerstin. This does not help. Here is the solution from one of
my collegues:

Changes for the light blue background colour can be done in the file:
\geonetwork\xsl\main.xsl

       <!--
       main page
       -->
       <xsl:template match="/">
               <html>
                       <head>
                               <xsl:call-template name="header"/>
                               <xsl:apply-templates mode="script"
select="/"/>

                               <style type="text/css">
                                       body {
                                               background-color: #ffffff;
/*alt #E4E9F1 */
                                               height:100%;

Greetings
Anja
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Changing-the-style-of-geonetwork-tp5739288p5765784.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork