Active
Project:
Corporate Clean
Version:
7.x-1.4
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
21 Apr 2012 at 17:43 UTC
Updated:
2 Jul 2013 at 12:08 UTC
Hi I'm really new to Drupal, and I have looked through all the settings and the CSS files before posting this. Basically on my horizontal menu bar, I have one too many links. So the last link goes on to the line below, which doesn't look right.
Does anyone have any ideas on how to increase the page size so they will all fit on the same line, or to shrink them to do the same thing..
Apologies if this as already been posted, I did have a look before posting this but couldn't find anything similar to my problem
Many Thanks
Comments
Comment #1
gtsopour commentedComment #2
gtsopour commentedHello Jon_90,
in your case, you should only reduce the distance (css margin) between Main menu items. The easy (but dirty) solution is to directly change the margin value into style.css (sites/all/themes/corporateclean/style.css) file,
style.css Line 208
Change from
to
But on the other hand, the right and clean way to do this is to create a new local.css file. The following brief guide will demonstrate how to setup Corporate Clean theme to support a local.css file where custom CSS rules and modifications could be placed. Following this practise, there is no worry if the next theme update will override all your custom changes (such the the one above inside style.css).
This can be done in 3 simple steps:
This step is important in order to force your template to be informed for the changes you have made in the template files. To do this go to Administer » Site configuration » Performance » Clear cached data
Finally, your corporateclean.info file will contain the following code
Now, you can edit the local.css file and add your style rules which will override the margin value of Main menu item links. In order to accomplish this, you should add the following code inside local.css.
Thanks
/George
Comment #3
gtsopour commentedComment #4
news4u commentedis is the same procedure if changing or increasing the page size/dimension ?