Hi Florian,

This is a great theme by the way. ;) I hope all is well.

A quick question, I was hoping to get a flash animation to span the body of the front page I created. An example of the effect I am trying to achieve is found at http://www.wayn.com/waynsplash.html . Where their user login block is above their flash animation.

How would I edit the css to get the user login block to be positioned in such a manner? I tried but didn't work for me.

Regards

Adrian

Comments

nevets’s picture

They used the following css

float:right;
margin-top:12px;
position:absolute;
right:17px;
top:0;
z-index:10;

What have you tried?

Note also, they are not using flash.

Abeaudrian’s picture

Hi
I tried the below but it did not work:

#block-user-0 {
float:left;
margin-top:12px;
position:absolute;
right:17px;
top:0;
z-index:10;
}

I thought they were using flash. Is the fact I am using flash making a difference?

Regards,

Adrian

nevets’s picture

Yes, using flash makes a difference. You need to set an option when starting to the flash to allow html to overlay it (I forget the option of the top of my head).

Abeaudrian’s picture

Hi
I tried using an image file (jpeg) instead, but it still does not work. It get shifts to the side of the block.

I added the code to the 'style-zero.css' file in the css folder of the theme.

I am not sure what I am missing.

florian’s picture

I'll find a way next days .. and come back to you.

florian’s picture

Solved! ") ... Take a look at my test site http://d6.sofpedia.ro.

In your _custom/custom-style.css ad the following lines:

#block-user-0 {
	width: 180px;
	float: right;
	margin-top:-100px !important;
	border: 1px solid #000;
	background-color: #eee;
}
#headimg {
	background: #fff url(headerimg/ephemeral_a.jpg) no-repeat 100% 100%; 
}

Then put the login block in the header area. Because when logged in the block dissapear, you should also give a height to #headimg ... by trial and error, of course.

Abeaudrian’s picture

Hi Florian

Thank you for your prompt reply. Very much appreciated.

I would rather though position the block to the left of the main content area and get the same effect found at http://www.wayn.com/waynsplash.html .

Will this be possible, I don't want to be much of a bother.

Your help is much appreciated.

Regards

Adrian

Abeaudrian’s picture

Hi,

An update to this issue is that I recently realized that the user login block floats in the right sidebar, though not in the left side bar.

Regards

Adrian

florian’s picture

Issue summary: View changes
Status: Active » Closed (fixed)