The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

css logo put out of the place

View previous topic View next topic Go down

In progress css logo put out of the place

Post by IdaTR on July 6th 2014, 10:41 pm

I want to move the logo to the far left of wrap.
I know I can do it with an simple:

Code:

#logo {
margin-left: 50px;
margin-top: 50px;
}

however if i do that, then the place where the logo should in original be gets wider/higher..
What i want reminds a little of the content text some people lies on there website as copyright text.

is it possible to link such an css together with a picture?

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

In progress Re: css logo put out of the place

Post by Ange Tuteur on July 7th 2014, 6:50 am

Hello IdaTR,

You can use absolute positioning :
Code:
#logo {
 right:0px;
 top:0px;
}

With that the element takes up no space in the DOM. You can also use relative position as this keeps it's space in the DOM.

With using absolute, the parent of that element must have a position that is not static, i.e. relative. So it acts as a containing element, otherwise the absolute element will go to the absolute corners of the browser window.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: css logo put out of the place

Post by IdaTR on July 7th 2014, 7:39 pm

The logo doesn't show up

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

In progress Re: css logo put out of the place

Post by Ange Tuteur on July 7th 2014, 9:04 pm

Did you remove your image from Pics management ? I see the default empty image.


Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: css logo put out of the place

Post by IdaTR on July 8th 2014, 10:28 am

its still there.

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

In progress Re: css logo put out of the place

Post by Ange Tuteur on July 8th 2014, 7:18 pm

Did you add anything recently that made it disappear ?

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: css logo put out of the place

Post by IdaTR on July 9th 2014, 9:46 am

nope.. its only the code that makes it disappear. when i remove it, it comes back on.

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

In progress Re: css logo put out of the place

Post by Ange Tuteur on July 9th 2014, 11:06 am

Which code is making it disappear ?

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: css logo put out of the place

Post by IdaTR on July 9th 2014, 11:07 am

The one you gave me Oo

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

In progress Re: css logo put out of the place

Post by Ange Tuteur on July 9th 2014, 11:20 am

Ooh which forum is this going on ? Could you give me a link to see the version ?

Thanks Smile

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: css logo put out of the place

Post by IdaTR on July 10th 2014, 12:24 pm

its phpbb2
and the link:
http://another-life.danskforum.net/

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

In progress Re: css logo put out of the place

Post by Ange Tuteur on July 10th 2014, 10:05 pm

I think the cause of the image disappearing is from the theme. The body has a positive top margin and the wrapper has a negative top margin.

Add this to your CSS :
Code:
body { margin-top:0 !important; }
#wrap { margin-top:30px !important; }

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: css logo put out of the place

Post by IdaTR on July 25th 2014, 12:50 am

makes two logos

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

In progress Re: css logo put out of the place

Post by Ange Tuteur on July 25th 2014, 2:44 am

That other logo is in your homepage message.
Display > Generalities

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: css logo put out of the place

Post by IdaTR on July 25th 2014, 8:40 am

But the logo doesnt float now.. and neither does the menu

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

In progress Re: css logo put out of the place

Post by Ange Tuteur on July 25th 2014, 9:40 am

I'm confused on what you want now..

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: css logo put out of the place

Post by IdaTR on July 25th 2014, 12:17 pm

i've put another layout on now... will perhaps help me with what i want. anyway thanks (:

IdaTR
Forumember

Female Posts : 339
Reputation : 1
Language : Danish, english
Location : Denmark

http://nionevrien.forumq.net/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum