WordPress.org

Ready to get started?Download WordPress

Forums

comments popup size (5 posts)

  1. salami
    Member
    Posted 9 years ago #

    Hi,
    I just installed WordPress (1.2.1) some days ago and think it's great, found solutions to some problems in this forum and was very happy about podz' website about how to change the css (thanks!).
    But I didn't find any help to this:
    I am having comments appear in a popup box, but this box can be resized by clicking on the lower right corner and pulling it. Is there a way to stop this?
    And, one general question as I know nearly nothing about php:
    If I want to change something for instance in the index.php without deleting it (as I might have to restore it if it doesn't work) is it ok just to put it between <!-- --> like in html, or is there another way in php?

  2. salami
    Member
    Posted 9 years ago #

    oops, something is missing in my question, i meant is it ok just to put it between '<-- -->' like in html

  3. Mark (podz)
    Support Maven
    Posted 9 years ago #

    You can comment it out with //
    <?php // this is commented out ?>
    Or, copy all of index.php, paste it into notepad and save that as a back up and then chop away happily :)
    With the popup, it may be a case of adding 'resize=no' where the script is called in the functions, but I'm not sure.

  4. salami
    Member
    Posted 9 years ago #

    I tried the 'resize=no' just behind the 'width...height...'-part in the wp-includes/template-functions-comment.php but it didn't change anything (I also tried 'resizable=no' as I read this somewhere else in this forum but it didn't work either) Any idea of where else to adding the 'resize' part?

  5. salami
    Member
    Posted 9 years ago #

    Think I got it :-) In this function comments_popup_script there is a part 'scrollbars=yes,status=yes'. I set 'status=no', now it seems to work. Great!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.