Current time: 04-24-2014, 04:42 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change the color of a specific border on specific page
03-13-2012, 02:00 AM (This post was last modified: 03-13-2012 06:13 AM by cappazushi.)
Post: #1
Solved: 2 Years, 1 Month, 1 Week, 3 Days, 15 Hours, 50 Minutes, 13 Seconds ago Pencil Change the color of a specific border on specific page
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-13-2012, 05:30 AM
Post: #2
Solved: 2 Years, 1 Month, 1 Week, 3 Days, 15 Hours, 50 Minutes, 13 Seconds ago RE: Changing colors of borders
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.
Find all posts by this user
Quote this message in a reply
03-13-2012, 06:02 AM
Post: #3
Solved: 2 Years, 1 Month, 1 Week, 3 Days, 15 Hours, 50 Minutes, 13 Seconds ago RE: Changing colors of borders
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-13-2012, 07:03 AM (This post was last modified: 03-13-2012 07:04 AM by Jazza.)
Post: #4
Solved: 2 Years, 1 Month, 1 Week, 3 Days, 15 Hours, 50 Minutes, 13 Seconds ago RE: Change the color of a specific border on specific page
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-13-2012, 11:34 PM (This post was last modified: 03-14-2012 12:51 AM by cappazushi.)
Post: #5
Solved: 2 Years, 1 Month, 1 Week, 3 Days, 15 Hours, 50 Minutes, 13 Seconds ago RE: Change the color of a specific border on specific page
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-14-2012, 06:15 AM
Post: #6
Solved: 2 Years, 1 Month, 1 Week, 3 Days, 15 Hours, 50 Minutes, 13 Seconds ago RE: Change the color of a specific border on specific page
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication