×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Changing font size, color, boldness of Only registered users can.....

Changing font size, color, boldness of Only registered users can..... 13 years 6 months ago #12094

  • Eric Grohs
  • Eric Grohs's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 41
  • Thank you received: 0
When a user isn't logged in, there is a caption above the comments that says, 'Only registered users can write comments!'

I'd like to change the size and color of this caption but I can't find where I do this. From firebug, I see that this is located in the file:

/components/com_comment/joscomment/templates/magazineJoomla/js/custom.js" type="text/javascript">

But when I enter that file to edit, I cannot find where I can make these changes.

Changing font size, color, boldness of Only registered users can..... 13 years 6 months ago #12095

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Eric,
this text should be encapsulated by a div with a class name onlyregistered -> don't you see this with firebug???

So you can style it with
.onlyregistered {
font-weight: bold;
}
etc...

Changing font size, color, boldness of Only registered users can..... 13 years 6 months ago #12100

  • Eric Grohs
  • Eric Grohs's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 41
  • Thank you received: 0
I do see it with firebug. It reads:

<script src="/components/com_comment/joscomment/templates/magazineJoomla/js/custom.js" type="text/javascript">
<div class="onlyregistered">Only registered users can write comments!</div>

But I cannot for the life of me find where this line is for me to edit. I looked in the above folder, I see nothing pertaining to the line, "Only registered users can write comments!"

Where exactly do I find this in order to edit. Also checked these files:

components/com_comment/joscomment/templates/magazineJoomla/css
and the index.html file for the magazineJoomla template

Can't find where I edit this

Changing font size, color, boldness of Only registered users can..... 13 years 6 months ago #12101

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
If you need to change only the color and font-size then do it with css. Why do you want to edit the text???

Changing font size, color, boldness of Only registered users can..... 13 years 6 months ago #12102

  • Eric Grohs
  • Eric Grohs's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 41
  • Thank you received: 0
I apologize for my ignorance, but where is the CSS file? I looked in the CSS file of the template magazineJoomla and cannot find where I make this edit.

Changing font size, color, boldness of Only registered users can..... 13 years 6 months ago #12104

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
'When you select an element in firebug it also shows you the file where the css definition is (on the right - if you hover over the file name it will also tell you the exact line...)
With that said the css file for the joomlaMagazine is:
\components\com_comment\joscomment\templates\magazineJoomla\css
  • Page:
  • 1
Time to create page: 0.105 seconds