-
AuthorPosts
-
March 16, 2011 at 2:48 pm #161531
Hi there,
I made some changes on the template, fixed width of 250px on left column.
Now, the badges don’t show in the right position, they should be aligned right of the module.I found this in the template.css:
/* Badge Module —*/
.badge {
height: 46px;
position: absolute;
right: 0;
top: 0;
width: 45px;
background-image: url(../images/icon-badge.png);
background-repeat: no-repeat;
}The right and top value is the positioning of the badge?
I tried to play around with the right value, but no change 🙁Ideas anyone? See screenshot …
Matthias
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 16, 2011 at 3:12 pm #381676Try changing postition:absolute; to position:relative; for the right and top to work. If that fails please post a link to your site so we can take a look.
March 16, 2011 at 3:25 pm #381680<em>@phill luckhurst 228092 wrote:</em><blockquote>Try changing postition:absolute; to position:relative; for the right and top to work. If that fails please post a link to your site so we can take a look.</blockquote>
Doesn’t work, badge jumps away completely.
http://www.wkl-consulting.de/shop/Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 16, 2011 at 4:10 pm #381692<em>@heymannm 228098 wrote:</em><blockquote>Doesn’t work, badge jumps away completely.
http://www.wkl-consulting.de/shop/</blockquote>Please change
right: 0;
to
right: -10px;
March 16, 2011 at 4:16 pm #381694<em>@phill luckhurst 228115 wrote:</em><blockquote>Please change
right: 0;
to
right: -10px;
</blockquote>Sorry, doesn’t work.
If I only change the value to -10, nothing happens.
If I change position to relative and right value to -10, badge jumps above the module, somewhere top left.
I leave the change, so you can see waht happened …Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 16, 2011 at 4:25 pm #381700<em>@heymannm 228117 wrote:</em><blockquote>Sorry, doesn’t work.
If I only change the value to -10, nothing happens.
If I change position to relative and right value to -10, badge jumps above the module, somewhere top left.
I leave the change, so you can see waht happened …</blockquote>It works in firebug so that suggest you have something odd going on.
If edited template.css line 594 and this is how it should appear
.badge {
background-image: url("../images/icon-badge.png");
background-repeat: no-repeat;
height: 46px;
position: absolute;
right: -10px;
top: 0;
width: 45px;}
If you still cannot get it to work please PM me an admin logon and ftp details and I will take a look for you. Please include a link to this thread in your PM.
March 16, 2011 at 4:32 pm #381702<em>@phill luckhurst 228124 wrote:</em><blockquote>It works in firebug so that suggest you have something odd going on.
If edited template.css line 594 and this is how it should appear
.badge {
background-image: url("../images/icon-badge.png");
background-repeat: no-repeat;
height: 46px;
position: absolute;
right: -10px;
top: 0;
width: 45px;}
If you still cannot get it to work please PM me an admin logon and ftp details and I will take a look for you. Please include a link to this thread in your PM.</blockquote>
Whatever was wrong with my template.css, copying the complete block into my css worked now.
Thanks alot 🙂
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 2 voices, and was last updated by heymannm 13 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Adjustment of badge position?
Viewing 7 posts - 1 through 7 (of 7 total)