Hi all
I've got G2 2.0.2 running on Drupal 4.7-beta-3. Everything is running good. However, default G2 fonts look normal in standalone mode (if you navigate to g2 install directly), but look very small when embeded in drupal.
I've tried adjusting the font size in theme.ccs, but when it looks good in drupal - it becomes too big for standalone mode (i want direct access to g2 and through drupal).
Is there any way to make the font look the same in both cases?
thanks
Posts: 2258
define the new font sizes in drupal's css file like so {
.gbSomething {
font-size: 1.6em !important;
}
the important will tell the browser to use that one, and since its in the drupal CSS it will only show up for gallery inside of drupal.
Posts: 80
Thanks for the tip, but for code-challenged can you clear it up a bit?
.dbSomething (<-- is it supposed to say "something", or do i need so put something else instaed of it?)
1.6em <-- is that a font size? - sorry, but i have never seen it written like that.
thanks a lot for the tip ckdake!
Posts: 2258
the something is what you need to replace. Just use the word from the gallery css file and paste it into the drupal one. 1.6em is a font size, but its just an example, use whatever font size you like. The main point is copy/paste the css that you already figured out into the drupal css file and add the !important.