Alignment of show-hide images

Alignment of show-hide images

by Jörn Vanselow -
Number of replies: 2
Hello everybody!

Is there any possibility to change the alignment of show-hide images in the blocks? I want to apear them left from the title of the block instead of right. See figure below:

------------------------------------
|+ Blocktitle                        |
------------------------------------


------------------------------------
|- Blocktitle                        |
------------------------------------
| Blockcontent                     |
------------------------------------

TIA
Jörn
Average of ratings: -
In reply to Jörn Vanselow

Re: Alignment of show-hide images

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

That's an easy one.

.sideblock .header .hide-show {
  float:left;
  margin-right:5px;
}

float:left instead of current float:right, and add a right-margin so that text of block title does not display too close to hide-show icon

Joseph

Attachment image-0000.jpg