font change for specific block

Posted in: Newspaper
Post count: 33

hey,
can you please tell me how to change the font ,style and size of the title of a specific block only.
Suppose i want to change the font of the title of block 7 to Verdana.
and style of the tittle of block 1 to italic
or size of the title of block 1 to 18px.

without having any change on the title of other blocks.
Thankyou

Post count: 22421

Hello,

You can only target specific module types in our theme, not just a particular block. You can change the font family or size from the fonts section for every module: http://screencast.com/t/qfqdn3zIKn
You can see a list here for what module is used in which block: http://screencast.com/t/eohjEChE3
If you want to target just a particular block, you will require a bit of css skills to add a custom css class to the row containing the block and targeting the block using that class to assign a font to the block title. You will have to load the font with css if you do not use the theme panel though. This is done using @font-face http://www.w3schools.com/cssref/css3_pr_font-face_rule.asp

Thank you!

Post count: 33

i tried to use this custom css code to change the font of the title of block 1 but it didn’t work
can you please tell any modification in this code.

.td_block_1 .td_module_6 .td-block-title {
font-family: "Open Sans";
font-size: 24px;
font-style: italic!important;
}

Thank you

Post count: 22421

Hi,

The correct css code would be this one:

.td_block_1 .block-title span{
font-family: "Open Sans";
font-size: 24px;
font-style: italic!important;
}

Thank you!

Post count: 33

hi,
i have another question regarding blocks.
http://www.screencast.com/t/T7ZlAWe4SVg
i tried to remove the line by changing the color of the title block to white but it also removes the border around the block title.
http://www.screencast.com/t/084HoR5gx7QZ

Thankyou

Post count: 22421

Hi,

The line cannot be removed by itself. There is no setting to separate the line from the header so if you only want the line removed(color changed) you can use this css code:
.block-title {
border-color: white!important;
}

This code will apply to ALL block titles. If you want to target particular ones you have to adapt the code for each one.

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.