Hi,
this in Matteo from Turin.
here (http://www.aromaapiedi.it/) you can see on the right the language switcher with the black dots outside the box.
A simple to solve but unstilish bug.

Ciao omonimo :)
nuovo dominio di prova tutto incasinato (http://www.aromaapiedi.it/): sulla destra in alto il selettore di lingue ha i pallini neri fuori dal box, niente di preoccupante ma davvero brutto da vedere. Se ti avanzano 5 secondi a fine giornata e hai voglia di modificare il css...

CommentFileSizeAuthor
#1 before_and_after.gif3.82 KBAltoRetrato

Comments

AltoRetrato’s picture

Component: Code » User interface
Priority: Normal » Minor
Status: Active » Needs review
StatusFileSize
new3.82 KB

First of all, thank you Matteo for this nice theme!

I have run into the same problem, and even though I'm a complete newbie to Drupal, this problem gave me enough motivation to dig into theming to find its source and a solution.

From my point of view, the problem resides in the "block.tpl.php", because it always render any block with a "defaultblock" class:

<div class="defaultblock">
    <h2><?php print $block->subject; ?></h2><!--block title-->
   <div class="blockcontent"><?php print $block->content; ?></div>
</div>

I changed the 1st line as below (adapted from the Garland theme):

<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="defaultblock clear-block block block-<?php print $block->module ?>">

After that, the Language Switcher block was rendered as expected. See attachment for a "before and after" comparison.

I believe this might solve other CSS issues as well.

mrbrowny’s picture

just suscribing :)

kpetkov’s picture

SWEEEEET, THANK YOU

oadaeh’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)

This issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-4.x branch.
Thank you.