Hey guys,

I'm running the latest version of Commons with the Connect theme and everything looks great so far, except that on pages that have a full login block with username/password fields and the "create new account" "request new password" links, the primary menu is moved down by some 20-30px, because its supposed to appear below the row including the login block, which takes too much space in this case.

Cheers,
Martin

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

domignon’s picture

Version: » 6.x-2.5
Component: Theme » User interface

arksi,have you found a solution ?

domignon’s picture

looks like the thumbnail user picture got bigger(50x50) in version 2.5 than previously(23x23 in v.2.2),which is good.Going to tweak via css.

kevinMac’s picture

add this somewhere:

.header-region {
	margin-top: 0px;
	position: relative;
	top: 44px;
}
ezra-g’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks for the suggestions here.

Can anyone post a screenshot with an example of the problem?

Thanks!

kevinMac’s picture

FileSize
61.51 KB

commons css screenshot

ezra-g’s picture

Component: User interface » Theme
Status: Postponed (maintainer needs more info) » Active

Got it - thanks! Moving this to the "theme" component.

nibo’s picture

Version: 6.x-2.5 » 6.x-2.6
FileSize
51.81 KB

I have the same bug in Commons 2.6 with an additional shifting of the user meta block coming from the fusion core css line:

.grid16-8 {
    width: 480px;
}

Setting the width to "auto" for #block-views-user_meta-block_1 should do the trick.

Further more, I would make the width of this block a little bit wider, so the "Welcome back," fits in one line and larger user names don't get shifted under the user image.

.view-user-meta {
    float: right;
    font-family: Arial,Helvetica,sans-serif;
    margin-top: 20px;
    width: 200px; /*now is 180px*/
}

CC Theme Display Failure

kevishie’s picture

I have the same issue as #7...

edundayo’s picture

I had the same issue as #7, been battling with it for the last 3 weeks, tried all the solution I found online including all the once suggested here above, but none worked for me. Finally, firebug came to my rescue and I got it fixed. Note I'm not much of a geek with stuff like this, just someone that get by with some trials and errors.

My Fix:
In the file "commons_connect-style.css"

Changed ".block" overflow to hidden (this fixed the horizontal scroll bar, which I find odd)

.block {
overflow: hidden; /*change block overflow to hidden*/
}

change default float right to float left for ".view-user-meta" and change the margins as in the code below.

.view-user-meta {
	float: left;  /*change default float right to float left*/
	width: 180px;
       font-family:  "Helvetical Neue",Helvetica,Arial,Sans-serif*/Arial, Helvetica, sans-serif;
       margin: 20px 0 0 12px;  /*apply a 12px left margin*/
}

Like I said, I don't know the implications of this fix, but it got this issue fix for me.

Mr. Nx’s picture

Can you be a more specific? I am facing the same problem. My user meta block is shifting to the right by a pace and being new am finding it annoying. (using DC 2:10) thanks

michaellenahan’s picture

The solution provided in #7 works.

I made the following changes to:
DRUPAL_ROOT/profiles/drupal_commons/themes/commons_connect/css/
commons_connect-style.css

(line 3476)

/* User Meta - logout/account links in header w/ profile pic */

.view-user-meta {
	float: right;

  /* ML 2012-12-19 */
  /* http://drupal.org/node/1316930 */
  /* width: 180px;*/
  width: 240px;

  font-family: /*"Helvetical Neue",Helvetica,Arial,Sans-serif*/Arial, Helvetica, sans-serif;
  margin-top: 20px;
}

...

(at the very end of the file)

.flag-message {
    top: 1.2em;

}

/* ML 2012-12-19 */
/* http://drupal.org/node/1316930 */
#block-views-user_meta-block_1 {
  width: auto;
}
Pierre75018’s picture

Block is using class "grid16-8" instead of "grid16-4".

Anyone knows how to setup that property to the block ?

gregceni’s picture

Fix #11 worked for me - thanks michaellenahan. Now, the login box is correctly adjusted. But...
Now there are two of them! Two identical user_meta blocks appearing atop one another.

Anyone else have this problem? I upgraded commons from 2.5 to 2.12. I can switch to the Commons Origins, Commons Roots or Fusion Core themes and it correctly displays only once.

After researching possible fixes, I got the login block to show correctly by disabling the Core Block System in Site Building->Context->Settings but now other things are not displaying like the custom block on my home page. Hmm. There are lots of open issues for Context. Any help would be appreciated.

UPDATE: I "fixed" it. ("hid" it) with this in the commons-connect-style.css.
#block-views-user_meta-block_1.even {
display: none;
}

gregceni’s picture

Category: bug » support
FileSize
17.25 KB

I still have this issue. I have duplicate login blocks which are offset to the right of the page. I've tried turning them off in blocks, context, themes. No dice. I want this to display on every page for anonymous users. I'd rather not hack it up with css specific to this id.
Any help is appreciated.

lsolesen’s picture

Issue summary: View changes
Status: Active » Fixed

Closing out old issues. Please reopen if still relevant.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.