1
BigJim
How to change the Post Comments button?
  • 2007/9/14 2:52

  • BigJim

  • Just popping in

  • Posts: 78

  • Since: 2007/7/16


How can I change the post comments button that appears on modules using the system's comments function.

I mean the buttons that allows users to choose between flat, threaded & nested plus the "post comments" button.

I think they look really ugly! I want to delete the 'choose lay out' option (so that users don't get the choice) and I want to have Post Comments as a text link not the present button.

I've tried all morning and can't believe that I can't see how to do it - can anyone help me???

I got as far as seeing that it is controlled by the $commentsnav in module_footer.html template but all I can do there is delete the whole thing (which obviously is no good).

How can I alter its appearance?

Thanks!!

2
Will_H
Re: How to change the Post Comments button?
  • 2007/9/14 12:43

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


.formButton {}

3
Will_H
Re: How to change the Post Comments button?
  • 2007/9/14 12:47

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


let me be a bit more specific.

in your style sheet add .formButton

Your final result will look like this

.formButton {
background-image: url(images/formbutton.png);
color: #FF9436;
border: 0px;
}

.formButton:hover {
color: #BBB;
border: 0px;
}

4
BigJim
Re: How to change the Post Comments button?
  • 2007/9/15 3:59

  • BigJim

  • Just popping in

  • Posts: 78

  • Since: 2007/7/16


Hi Will

Thanks a lot! Where can I get the formbutton image from?

But also the boxes for choosing the display mode (threaded/oldest first etc) are still there.

How can I get rid of them - I can't find the right file anywhere and its killing me!

5
BigJim
Re: How to change the Post Comments button?
  • 2007/9/15 4:37

  • BigJim

  • Just popping in

  • Posts: 78

  • Since: 2007/7/16


Yeh! I found the answer to my second question here:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=18519&forum=20&post_id=78712#forumpost78712

AmI right in thinking there an image that needs uploading for the button?

Cheers!

6
Will_H
Re: How to change the Post Comments button?
  • 2007/9/15 13:07

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Well yeah, if you were graphically inclined you could make a button.

Your button should be blank, the text will be writ onto it.

make/find a button and upload it to your themes image folder.

Login

Who's Online

314 user(s) are online (238 user(s) are browsing Support Forums)


Members: 0


Guests: 314


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits