Themes

 
 
Picture of Javier Jauregui
Change logo size
 

Hi, recently bought a theme called Accentuate, I wonder how  can modify (CSS or PHP) the theme becoause the logo is displayed on the screen as they now only see up to 300 px long? anyone can help?. Moodle 2.2

 
Average of ratings: -
It's only an avatar...
Re: Change logo size
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

Hi,

The Accentuate theme sets the dimensions for the logo in accentuate/style/core.css so if you were to change this width and height to match your own Logo width/height it should fix the problem for you. You will need to enable Theme Designer Mode first though.

#thelogo {
    float: left;
    width: 60%; /* change this value use % or px*/
    height: 125px; /* change this value */
}

HTH

Mary

 
Average of ratings:Useful (1)
Picture of Javier Jauregui
Re: Change logo size
 

Thanks Mary works very good but i there's one aditional problem the image not fill all the section, on top its ok  but on botton don't fill all, I send you the image... 

 
Average of ratings: -
It's only an avatar...
Re: Change logo size
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

Try this...in


accentuate/style/core.css

change this...

#headerwrap {
    padding-bottom:35px;
}

to this...

#headerwrap {
    padding-bottom: 0;
}
#innerheader {
    width: 93%;
    min-width: 910px;
    margin: 0 auto;
    overflow: hidden; /* add this it will make the logo look better */
}

 
Average of ratings:Useful (1)
Picture of Javier Jauregui
Re: Change logo size
 

Thanks Mary !!!!!!! 100%  OK!!!!

 
Average of ratings: -
It's only an avatar...
Re: Change logo size
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

 
Average of ratings: -