Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: How to center JComments on page and CSS Questions?
Pages: [1]   Go Down
  Print  
Author Topic: How to center JComments on page and CSS Questions?  (Read 1724 times)
0 Members and 1 Guest are viewing this topic.
Tikva
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« on: April 14, 2012, 17:53:12 »

I would like to have JComments centered on the page, rather than aligned to the left, but have been unable to locate where in the CSS I could do this.

I would also like to change the colors of the Text Box where you enter Comments, and other colors, so that they blend in with my Rockettheme Template.

Your assistance with this would be most appreciated, and detailed instructions would be very helpful.

Many thanks!
Logged
ABTOP
Sr. Member
****

Karma: 17
Offline Offline

Posts: 399



WWW
« Reply #1 on: April 15, 2012, 06:22:28 »

There is a JComments template made specifically for Gantry. It's called gantrified.
Logged

No personal messages unless you are a friend or you have money for me.
Tikva
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« Reply #2 on: April 15, 2012, 09:46:18 »

Thank you for you reply.  Where can I find this gantrified template?
Logged
ABTOP
Sr. Member
****

Karma: 17
Offline Offline

Posts: 399



WWW
« Reply #3 on: April 15, 2012, 10:05:24 »

Google knows all.

And sometimes even translates quite acceptably.
Logged

No personal messages unless you are a friend or you have money for me.
Tikva
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« Reply #4 on: April 17, 2012, 08:08:29 »

Thank you, I did manage to find the Gantrified template download, but while it did make JComments blend in with my template, it still didn't help me to center JComments on the page, and even after looking in the CSS and tpl files, I just can't find where I can accomplish this.  Is there anyone who can give me detailed information on what I need to do?  Many thanks!
Logged
ABTOP
Sr. Member
****

Karma: 17
Offline Offline

Posts: 399



WWW
« Reply #5 on: April 17, 2012, 08:29:29 »

I don't quite understand what you mean by "center on the page".
I hope it's not centered as in centered paragraph, for it will look ridiculous.
Comments are to take the whole available width of the article box. Centering comment boxes won't make much difference.

So draw me a picture.
Logged

No personal messages unless you are a friend or you have money for me.
Tikva
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« Reply #6 on: April 17, 2012, 18:48:19 »

Maybe I haven't been specific enough - I would like the 'Add Comment' form centred on the page, underneath the article, and not aligned to the left.  The actual comments posted I would still like aligned left.  Thank you.
Logged
tbritton
Newbie
*

Karma: 0
Offline Offline

Posts: 9


« Reply #7 on: April 18, 2012, 04:50:44 »

In style.css find the following line:

Code:
#comments-form, #comments-form p, #comments-report-form, #comments-report-form p, #comments-form span, #comments-form .counter {    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
}

Then add the following (you may have to play around with the width.

Code:
    width:360px;
    margin-right:auto;
    margin-left:auto;

Then find #jc h4 in the same file and change text-align:left to text-align:center.
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: How to center JComments on page and CSS Questions?
 
Jump to: