Hi

I have noted that the theme renders lists in a little bit undesirable way.

  • ...
  • ...
  1. ...
  2. ...

I get the "dots" & numbers OUTSIDE the main content area & in case of the second sidebar, same issue with some items, such as "language icons" block. The "dots" associated with the different listed languages are the outermost elements in the sidebar, too much to the left of all other blocks' contents there.

Is there any way to correct this?

CommentFileSizeAuthor
listsproblem.jpg27.8 KBlionheart8

Comments

lionheart8’s picture

Second question:
I have a heavily edited gamma.css file.
How can I best protect this when updating?
Regards

lionheart8’s picture

Any idea what to do?

himerus’s picture

You can add margin-left to the ul and ol items to push things over a bit.

Also, rather than editing a theme, you should make a subtheme of Gamma if you want to edit CSS on your version of Gamma to avoid issues when updating. Otherwise, you'll need to be careful.

This page talks about creating subthemes for Omega... there will need to be some adjustments since it would be a subtheme of Gamma... so the post on "Traditional Subtheme Creation" would be what you'd want to look over if you want a clean subtheme of your own...

On my own site (himerus.com), I have a custom Gamma subtheme (called himerus_gamma) that has my own CSS changes.

lionheart8’s picture

Hi,
As you say "This page talks about creating subthemes for Omega... there will need to be some adjustments since it would be a subtheme of Gamma..."

That is what I need to know, what is different.
In that case, the starter kit is part of & inside the Omega folder.

Gamma is in the main theme folder with Omega.

In the case of Gamma, does it mean I would make a copy of it, place it in the same "themes" folder & just rename those files?

Suppose I want to retain the current theme & instead RENAME it to something else, like New_Gamma so it becomes the subtheme & upload a fresh version of Gamma, would this make sense?

Exactly what files would I need to rename in New_Gamma?
----------------------------

This what I tried:

I renamed the current modified gamma to => gammacurrent

I uploaded a fresh gamma folder.

To Gamma Current:

in template.php:

function gammacurrent_theme(&$existing, $type, $theme, $path) {
  $hooks = array();
  //$hooks = omega_theme($existing, $type, $theme, $path);
  return $hooks;
}

function gammacurrent_field__taxonomy_term_reference($vars) {
  $output = '';

template-settings.php

function gammacurrent_form_system_theme_settings_alter(&$form, &$form_state) {

in gammacurrent.info

name        = GammaCurrent
description = <a href="http://drupal.org/project/omega"><strong>Omega</strong></a> is the core base theme for all <a href="http://drupal.org/project/omega"><strong>Gamma</strong></a> subthemes...
screenshot = screenshot.png
core       = 7.x
base theme = omega

stylesheets[all][] = css/gamma.css
scripts[] = js/gamma.js

Everything looks ok, but the dropdown menu does not work. It only works if I go back to "Gamma".

Is the way I did this right, is it what you meant by making this a subtheme of Gamma, or one has to change base theme from omega to gamma?

As you may remember, the aim is keeping my custom settings in case of a Gamma update.

Thanks in advance & regards