WordPress.org

Ready to get started?Download WordPress

Forums

Frontpage-Slideshow
How to change font size (13 posts)

  1. Cssmeasap
    Member
    Posted 4 years ago #

    Hi,
    I need to adjust the size of the text that displays in the caption. It looks like this is controlled by style on the fs-title id tag.
    The style has the bit of code !important!.
    This means that I won't be able to change it unless I find where that original bit of code is, right?
    I can't find the style sheet where that style lives.

    Any ideas of where to find this or any work arounds to adjust the font size.

    thanks.

  2. jeff_
    Member
    Plugin Author

    Posted 4 years ago #

    go to the plugin "templates" folder into the plugin's one. make a copy of "default" folder, and give a name to this copied folder. then open the template.php file contained on it and :
    - change its name on line 37
    - change the sizes or whatever on this file and save
    - choose your newly created template via the plugin's admin page then apply.

    Doing that way, your changes will be kept when the plugin will be updated, or you could do you very own teme by yourself if you need it !

  3. choopale
    Member
    Posted 3 years ago #

    Hi,
    i read the post above and i do that on my plugin but whenever i update template.php file my slideshow becomes a one unordered column with text. Here is a screecshot:http://img827.imageshack.us/img827/7311/48835315.jpg

    Thank you very much for answers.

  4. redal
    Member
    Posted 3 years ago #

    he cambiado el tamaño de fuente en el docuemnto template.php, pero ya no me funciona el Frontpage-Slideshow, se dañó, como puedo cambiar el tamaño de fuente en el estilo .fs-comment, gracias...

  5. jeff_
    Member
    Plugin Author

    Posted 3 years ago #

    @redal : in english please

  6. redal
    Member
    Posted 3 years ago #

    I changed the font size in the document template.php, but it does not work the Frontpage-Slideshow, damaged, try creating another template and also damaged, as I can change the font size in style. fs-comment, thanks ...

  7. jeff_
    Member
    Plugin Author

    Posted 3 years ago #

    Try to determine how the styles cascade works then apply the right css rules to fix it... its a css thing

  8. ratterobert
    Member
    Posted 3 years ago #

    I just copied the template.php from /default to another folder in the same directory, activated it and as the result my slideshow looked very similar to choopale's. so I don't think that it is a css thing.

    have you any idea, what could be a reason for this?

  9. ratterobert
    Member
    Posted 3 years ago #

    As I can see, the output from the original template.php shows the css-rules in one line (line 152 in my theme) the output sourcecode of the copy i've made shows them with linebreaks.

    With which editor have you written your plugin?

  10. ratterobert
    Member
    Posted 3 years ago #

    I guess, I figured out the problem. If you like to edit the css-rules in the template.php, you have to use an editor which saves your file with UNIX-linefeed (LF) instead of the Windows version (CR+LF).

    Now my changings doesn't break up the slideshow!

  11. jeff_
    Member
    Plugin Author

    Posted 3 years ago #

    yup all true : unix-like and utf-8 as it is better.
    You'd better use an editor wich can deal natively with that kind of files… you will find them everywhere…

  12. ronel223
    Member
    Posted 3 years ago #

    hi jeff,im having the same problem too...i used another text editor aside from dreamweaver for template.php ..but still the slideshow break's its position..

  13. ronel223
    Member
    Posted 3 years ago #

    i found a new one..and it works..a very thanks to jeff and ratterobert..

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic