Changing the width of the text

  • bim
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 4 months ago - 4 years 3 months ago #10263 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. :(
Last edit: 4 years 3 months ago by milos.

Please Log in to join the conversation.

More
13 years 4 months ago #10269 by ivan.milic
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;
...
The following user(s) said Thank You: kiwikidusa

Please Log in to join the conversation.

  • bim
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 4 months ago #10277 by bim
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
Powered by Kunena Forum