-
AuthorPosts
-
frodojrr Friend
frodojrr
- Join date:
- December 2007
- Posts:
- 89
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 16
- Thanked:
- 2 times in 1 posts
May 5, 2009 at 4:46 pm #140917There is a run-on problem with long headlines running into the PDF/Print/Email logos at the top of articles.
The problem can be seen in the Demo under Travel>Travel Tips in the story, “Semper Sed eros dolor condimentum congue.”
The problem is here on the site I’m building here:
Is there a fix for this?
frodojrr Friendfrodojrr
- Join date:
- December 2007
- Posts:
- 89
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 16
- Thanked:
- 2 times in 1 posts
May 5, 2009 at 4:52 pm #303656ccvpguy Friendccvpguy
- Join date:
- February 2009
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 29
- Thanked:
- 10 times in 5 posts
May 5, 2009 at 5:48 pm #303665I have the same problem….
bandbreed500 Friendbandbreed500
- Join date:
- July 2008
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
May 6, 2009 at 9:07 am #303759Can you edit the CSS files? if you open template.css
(can also find this in Joomla admin panel > template manager > edit css)
and look for .buttonheading it should be around line 600 so a bit down. it should look like this:
div.buttonheading {
position: absolute;
top: -25px;
right: 0;
width: 62px;
padding: 3px;
}if you change the top to, say: -10 the icons should drop a bit, try to get this right so it falls under the text.
BUT: even on lines where it looks nicer next to the text it will drop and if you have an image rigth under your headline, the icons will fall over that image…
I’d suggest rewriting your headlines. A bit of editorial work never hurt anyone.
Good luck.
Edit: clarified the location of the css file.
frodojrr Friendfrodojrr
- Join date:
- December 2007
- Posts:
- 89
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 16
- Thanked:
- 2 times in 1 posts
May 6, 2009 at 6:52 pm #303833<em>@bandbreed500 127510 wrote:</em><blockquote>Can you edit the CSS files? if you open template.css
(can also find this in Joomla admin panel > template manager > edit css)
and look for .buttonheading it should be around line 600 so a bit down. it should look like this:
div.buttonheading {
position: absolute;
top: -25px;
right: 0;
width: 62px;
padding: 3px;
}if you change the top to, say: -10 the icons should drop a bit, try to get this right so it falls under the text.
BUT: even on lines where it looks nicer next to the text it will drop and if you have an image rigth under your headline, the icons will fall over that image…
I’d suggest rewriting your headlines. A bit of editorial work never hurt anyone.
Good luck.
Edit: clarified the location of the css file.</blockquote>
Thanks for pointing out the CSS for this. I’ll take a look at it and play around with it. The basic problem is the absolute positioning. I’ll work on turning those into floats. Yet another reason why absolute positioning should be used sparingly.
No, we’re not rewriting headlines. Our journalists and editors don’t serve a Joomla template. This is a news template, and it needs to serve journalists.
1 user says Thank You to frodojrr for this useful post
frodojrr Friendfrodojrr
- Join date:
- December 2007
- Posts:
- 89
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 16
- Thanked:
- 2 times in 1 posts
May 6, 2009 at 6:59 pm #303837Floating the div instead of using absolute positioning provided the fix. Works just great now.
Change the above references code in the template.css to this:
div.buttonheading {
/*position: absolute;
top: -25px;
right: 0; */
float: left;
width: 62px;
padding: 3px;
}Take a look again at our long headline and see how nice it looks:
Two Illinois Youth Honored for Volunteerism at National Award Ceremony in Washington, D.C.
bandbreed500 Friendbandbreed500
- Join date:
- July 2008
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
May 7, 2009 at 7:34 am #303890Yeah, floating them seems to do the trick, you can still bump it a bit with margins and such to position it. Also it doesn’t fall over any content you might have.
Good solution.
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by bandbreed500 15 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum