Closed (fixed)
Project:
Attachment
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2008 at 08:43 UTC
Updated:
18 Jun 2008 at 16:19 UTC
I have a number of stories which I've attached files to. Unfortunately, if I attach files to stories/pages where images are being used, the images move from top righthand corner to appear down in the bottom righthand corner sitting on top of the attached files.
Comments
Comment #1
cscsteve commentedJenifer,
Attachment (like many Drupal modules), merely returns a chunk of HTML as necessary when needed to display the attached files. Exactly where and how this is inserted is up to your theme and the CSS and other code that governs your theme. In order to fix your problem you need to go in and modify your theme's CSS and template files.
Unfortunately, this is way beyond the scope of what I can help you with here. I recommend you take a look at the theming guide for 5.x, and if you still have trouble, you might want to ask some questions on the forums.
This is not a bug with Attachment (unless you can show me that it's inserting a particular broken piece of HTML that's causing the problem).
Thanks,
- Steve
Comment #2
jenifertucker commentedHi Steve
Thanks for the reply. An example of what's happening can be seen on my development site at http://donkeys.metagrid.co.uk/nationalequinewelfareprotocol
I don't know that much about CSS, but thanks for pointing me at the problem is likely to be caused by the theme (amadou) and the CSS.
Jenifer
Comment #3
cscsteve commentedJennifer,
The link you sent tells me I'm unauthorized. But I did find a page that has an attachment as well as an image (actually, 2):
http://donkeys.metagrid.co.uk/donations
It looks fine to me, with the donate button at the top, justified left with the text flow around it, and the FRSB logo right above the attachment section. See my attached file. Screen capture from a Mac with Firefox 2.0.0.14.
Just look in your theme. Play with your CSS and template files. And it's possible your problem is on specific browsers, not all browsers render the same; you need to do cross-browser testing and some manual hacks to work some of those things out.
Good luck,
- Steve
Comment #4
jenifertucker commentedThanks Steve. The pages you found were where I've tinkered with a bit of HTML to put in the page.
Forgot the link I sent wasn't published!
http://donkeys.metagrid.co.uk/nationalequinewelfareprotocol
It behaves just the same in different browsers. Will need to go and scratch my head ad the CSS I guess.
Your advice has been much appreciated.
Jenifer