Border for homepage message (phpbb3)
Page 1 of 1 • Share
- magicm00nMember
- Forum Posts : 5
Member Since : 2012-03-16
How can I add a border for the homepage message using CSS?
- Vanilla990Administrator
- Forum Posts : 114
Member Since : 2011-10-30
Could you provide a link to your forum please so I can take a further look?
I've just put a homepage message onto my person forum and it already has a border around it and it's one of the default themes so I want to check which theme you are using so I can specify how to add the border you are after
I've just put a homepage message onto my person forum and it already has a border around it and it's one of the default themes so I want to check which theme you are using so I can specify how to add the border you are after
- magicm00nMember
- Forum Posts : 5
Member Since : 2012-03-16
- Vanilla990Administrator
- Forum Posts : 114
Member Since : 2011-10-30
Ok, try going into the Admin Panel and going to "Display > Pictures & Colors - Colors". Once in there, go to the CSS tab and paste in the following code.
You can also change the width of the border and the line type by replacing the "1px" for the width size and the "solid" for the line type. For more information on border css check out: http://www.w3schools.com/css/css_border.asp
- Code:
.panel {
background-color: #ECF3F7;
color: #536482;
margin-bottom: 4px;
padding: 0 10px;
border:1px solid /*Enter colour code here */;
}
You can also change the width of the border and the line type by replacing the "1px" for the width size and the "solid" for the line type. For more information on border css check out: http://www.w3schools.com/css/css_border.asp
- magicm00nMember
- Forum Posts : 5
Member Since : 2012-03-16
Thanks^^!
Btw can you tell me how you know which part of the CSS to modify(ex: ".panel" is the homepage message) because I would like to add more borders for other parts of the forum.
Btw can you tell me how you know which part of the CSS to modify(ex: ".panel" is the homepage message) because I would like to add more borders for other parts of the forum.
- magicm00nMember
- Forum Posts : 5
Member Since : 2012-03-16
Owh okay, thanks!
- Vanilla990Administrator
- Forum Posts : 114
Member Since : 2011-10-30
Yeah, I use Google Chrome which is really useful for web development due to the right click "Inspect Element" function. I believe you can also do a similar thing in Firefox and also in Internet Explorer by using the Developers Console.
- Sponsored content
Similar topics
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum