Dmitry

font size of the title and description

6 posts in this topic

Opps.

I'm so sorry, I was too hastily without noticing extension's name, i only think about BT Property when i see your topic.

So stupid :">

I got the problem, reason is the module's caption is affected by other style in file bt_styles.css

.bt-slider .cp-title {

background: rgba(0, 0, 0, 0) none repeat scroll 0 0;

border-left: 4px solid #fff;

font-family: "Open Sans";

font-size: 40px;

font-weight: bold;

line-height: 30px;

}

With the configuration, we output this style

.cp-title{

font-size: 14px;

}

As you see one selector is ".bt-slider .cp-title", one is only ".cp-title"

And in CSS, first on is stronger second.

So the title is affected by first rule.

There are 2 solution to solved this problem.

1. Open file templates/bt_property/css/bt_style.css find the rule and remove ".bt-slider" from selector.

2. Open file /modules/mod_bt_backgroundslideshow/tmpl/default.php

Find and follow this to solve the problem

1.

$styleSheet .= ' .cp-title,.cp-link{'

change to

$styleSheet .= ' .bt-slider .cp-title, .bt-slider .cp-link{'

2.

. " .cp-desc{"

change to

. " .bt-slider .cp-desc{"

Enjoy it.

Share this post


Link to post
Share on other sites

Excuse me, please.

I tried your solution, but I can not fix the problem. Perhaps I did not understand you correctly.

This is really stupid! :(

Can I ask you, you to do it yourself?

I returned the change.

Share this post


Link to post
Share on other sites

HI there. Maybe

we must change both of files. I do it and now you can configure font size by module management.

In truth, i think edit file bt_style.css for title size is the simplest way without editing the module.

:D

Dmitry likes this

Share this post


Link to post
Share on other sites