- Posts: 3
- Thank you received: 0
Changing the width of the text
-
bim
Inactive member - Topic Author
- New Member
Less
More
13 years 4 months ago - 4 years 3 months ago #10263
by bim
Changing the width of the text was created by bim
I think my problem is similar to this. This is what the module looks like:
See where the word "more" overlaps into the dots? I was able to change it in firebug by editing #featured .infotext, but I cannot seem to find it.
I just need to change that 290 to a 280, and I should be good. I'm tearing out my hair trying to find it.
See where the word "more" overlaps into the dots? I was able to change it in firebug by editing #featured .infotext, but I cannot seem to find it.
I just need to change that 290 to a 280, and I should be good. I'm tearing out my hair trying to find it.
Last edit: 4 years 3 months ago by milos.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 4 months ago #10269
by ivan.milic
Replied by ivan.milic on topic Re: Changing the width of the text
That's in .php code.
File is
modules\mod_hot_newsflash\tmpl\default.php
...
#featured .infotext {
width:'.$infoWidth.'px;
height:'.$imageHeight2.'px;
overflow:hidden;
}
...
To make taht 10 px smaller you will see at beggining of same file:
...
$infoWidth = $moduleWidth - $tabWidth - $imageWidth - 10;
...
Just remove - 10
so you would end up with this:
...
$infoWidth = $moduleWidth - $tabWidth - $imageWidth;
...
File is
modules\mod_hot_newsflash\tmpl\default.php
...
#featured .infotext {
width:'.$infoWidth.'px;
height:'.$imageHeight2.'px;
overflow:hidden;
}
...
To make taht 10 px smaller you will see at beggining of same file:
...
$infoWidth = $moduleWidth - $tabWidth - $imageWidth - 10;
...
Just remove - 10
so you would end up with this:
...
$infoWidth = $moduleWidth - $tabWidth - $imageWidth;
...
The following user(s) said Thank You: kiwikidusa
Please Log in to join the conversation.
-
bim
Inactive member - Topic Author
- New Member
Less
More
- Posts: 3
- Thank you received: 0
13 years 4 months ago #10277
by bim
Replied by bim on topic Re: Changing the width of the text
oh man that did it! You, sir, are awesome! But instead of removing the -10, I made it -20, which did the trick. Thank you!
Please Log in to join the conversation.
Time to create page: 0.314 seconds