CSS : need some help !

Events happening in the community are now at Drupal community events on www.drupal.org.
fxdfxd's picture

Hi all

I'm now using the Acquia Slate theme, wonderful. I changed the orange color for a blue one, it's beautifull :)

I've some problems, that were present even with the unmodified theme.

Go to this web page, and have a look at the different lists :

http://f.defaut.free.fr/?q=node/115

If I put a < p > or < h3 > markup after the < li > markup, there is always a line break. I looked into the CSS stylesheet, but I'm not able to find where to remove this line break, can you help please ? :(

And 2nd problem, if you look at the menu at the left of this page, it's a simple menu, without boxes around, unlike the home page> click on 'home', and you'll see the difference. I dont know why this happens, it's like that since the begining ...

Any help would be much appreciated, I'm not a big pro of CSS and web design ;)
Thanks

Regards
-fx

Comments

Display: inline

catchlight's picture

Hi, Your H3 element is by default set to display: block; - In the stylesheet set the relevant h3 tag to display:inline; be careful as this could break other parts of your site, so use as specific as possible CSS rules to "attack" the exact element you want.

As for your menu, this sounds like a page.tpl.php problem. Do you have any block.tpl.php templates overriding things?

Hello thanks for the reply.

fxdfxd's picture

Hello

thanks for the reply. I'll try to remove the block property. I was looking for a padding or margin, I was on the wrong way so ;)
For the menu, no I didnt change anything, my webdesign level allow me just to change some values in CSS stylesheet, not more, so everything else is as provided :)

Thanks for your help
-fx

PS: oh I just think that I tried to use nice menu, with no success, maybe there's a problem with this, I'll try to find !!!

Yeah, I think Nice Menus

catchlight's picture

Yeah, I think Nice Menus might have messed things up for you. I looks like your not using Primary links on the inside pages? I could be wrong.

Hi Catchlight :) I solved

fxdfxd's picture

Hi Catchlight :)

I solved the list item problems, I was trying to reset some padding or margin properties, but you were right, problem was caused by a parent display: block. I solved the problem, cleanly I hope, by targeting the correct h3 markup.

For the other problem, I didnt find, I dont even know where to look for ... I delete and reupload somes files, but no success...
And you're right, primary links a disabled, I dont know what they are supposed to be ;)

I'm using drupal since 4 years now, but I still as bad as in the begining ;)

regards
-fx

TNT Themes

Group organizers

Group categories

Type of post

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: