Totara Learn Open Discussions

Block: Featured Links customisation

 
CervenakIgor
Block: Featured Links customisation
CervenakIgor 发表于 2024年03月28日 Thursday 03:15
 

Hi, I would like to customise the Featured links block. I'm on Totara 15, and would like to adjust blocks on global and local level. How can I overwrite properties as Margin-left and corner radius? The block sits right on the left hand side of the page, so adding some margin would benefit? Would it be possible to advise? The only solution I can think of is Custom theme css and targeting Manual ID on the block.

HanacekMarek
Re: Block: Featured Links customisation
HanacekMarek 发表于 2024年03月28日 Thursday 17:40
小组 Partners

Hi,

Use Ventura "Custom CSS" option in Appearance and and put there something like:

.block.block_totara_featured_links {

border-radius: 5px;

margin-left: 15px;

}

For specific block:

#inst192.block.block_totara_featured_links {

/* Iinstance ID need to fit your block */

}

Or you can target css to page type (dashboard) and region (left) etc to make it more general 🙂