Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 2 Years, 7 Months, 3 Days, 12 Hours, 10 Minutes, 3 Seconds ago Change the color of a specific border on specific page
#1
Solved: 2 Years, 7 Months, 3 Days, 12 Hours, 10 Minutes, 3 Seconds ago Pencil 
Is is possible to change the color of the line that appears under the avatar/poster name/post info box? In the theme I'm using, it's black, and therefore essentially invisible against the black background. Here's what I'm talking about:
   

---------

Thank you very much for your assistance!

(If you need to see the site itself, it's http://www.jrpgclub.com/community)

---------

By adding a border command to trow1 I managed to get it displaying what I wanted it to, except on every page. Is there a way to get a certain color of line to display in just that one spot?
The JRPG Club: Video game reviews, resources and discussion for Japanese learners.
Reply
#2
Solved: 2 Years, 7 Months, 3 Days, 12 Hours, 10 Minutes, 3 Seconds ago
You can do this by editing the template,
You should have used the search tool before posting this thread.
You would have found a tutorial on how to do so.
Reply
#3
Solved: 2 Years, 7 Months, 3 Days, 12 Hours, 10 Minutes, 3 Seconds ago
Maybe I should be more clear about why I am trying to do (to prevent more rude replies).

Editing trow1 in the style sheet can change the color of that border, but it applies to every page. I'm curious if that bottom border of the avatar/username section can be changed, without having an effect on other pages.

Alternatively, since the theme I use now has a black (virtually invisible) border, I'd be fine with simply adding a line under the avatar and coloring it whatever I want. Preferably it would be the length of the post box (not short like the one above the signature)
The JRPG Club: Video game reviews, resources and discussion for Japanese learners.
Reply
#4
Solved: 2 Years, 7 Months, 3 Days, 12 Hours, 10 Minutes, 3 Seconds ago
Edit the template to assign it a new class and add a new class rule in your stylesheet. Such as

Code:
<table class="trow1 bordercolour">

.bordercolour {
  border-bottom: 1px solid red;
}

I suggest giving it 2 classes, but that isn't supported by old browsers like IE6. Then again, you shouldn't care about IE6 these days.
Reply
#5
Solved: 2 Years, 7 Months, 3 Days, 12 Hours, 10 Minutes, 3 Seconds ago
I understand what that does, and more or less what to do, but which template should I add the table class to?

I inserted an HR and it got the job done. Thanks anyway - you sent me looking in the right direction!
The JRPG Club: Video game reviews, resources and discussion for Japanese learners.
Reply
#6
Solved: 2 Years, 7 Months, 3 Days, 12 Hours, 10 Minutes, 3 Seconds ago
No problem.

If you can't find a specific template, there's an option in your general configuration to enable template name comments. When that is enabled, a comment will be added in the HTML source of the page at the start of each template.

Find the code in the sourcecode you want to change, find its template name, then look it up in the ACP.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)