Rounding prosilvers corners
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
-
- BBCoder I
- Posts: 3
- Joined: 31 Jul 2010, 06:32
Rounding prosilvers corners
Hi, I need a way to achieve rounded corners on the forum boxes (not category boxes, those are round by default), using images (so it's cross-browser supported)
I'm sure it's really simple but I'm a complete noob.
I'm sure it's really simple but I'm a complete noob.
- Steve
- BBCoder VI
- Posts: 848
- Joined: 05 Mar 2010, 01:10
- BBCodes: 2000
- Favourite BBCode: p**n tube
- Favourite MOD: Non of Stokers
Re: Rounding prosilvers corners
Open styles/prosilver/template/forumlist_body.html
find:
add after:
find:
add after:
pressume view forum also
Open styles/prosilver/template/viewforum_body.html
find:
add after:
find:
add after:
Open styles/prosilver/theme/colours.css
find:
add after:
Open styles/prosilver/theme/common.css
find:
add after:
Refresh template/theme for prosilver and refresh your web browser.
Awaits for i want to change the corner image and remove the border top and bottom.
pic:
find:
Code: Select all
<!-- IF not forumrow.S_IS_CAT -->
<li class="row">
Code: Select all
<span class="corners-toper"><span></span></span>
Code: Select all
<!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<br /> <!-- ENDIF --></span>
</dd>
<!-- ENDIF -->
</dl>
Code: Select all
<span class="corners-bottomer"><span></span></span>
Open styles/prosilver/template/viewforum_body.html
find:
Code: Select all
<li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
Code: Select all
<span class="corners-toper"><span></span></span>
Code: Select all
<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{topicrow.LAST_POST_TIME}</span>
</dd>
</dl>
Code: Select all
<span class="corners-toper"><span></span></span>
find:
Code: Select all
span.corners-bottom span {
background-image: url("{T_THEME_PATH}/images/corners_right.png");
}
Code: Select all
span.corners-toper {
background-image: url("{T_THEME_PATH}/images/corners_left.png");
}
span.corners-toper span {
background-image: url("{T_THEME_PATH}/images/corners_right.png");
}
span.corners-bottomer {
background-image: url("{T_THEME_PATH}/images/corners_left.png");
}
span.corners-bottomer span {
background-image: url("{T_THEME_PATH}/images/corners_right.png");
}
find:
Code: Select all
.rules span.corners-bottom {
margin: 5px -10px 0 -10px;
}
Code: Select all
span.corners-toper, span.corners-bottomer, span.corners-toper span, span.corners-bottomer span {
font-size: 1px;
line-height: 1px;
display: block;
height: 5px;
background-repeat: no-repeat;
}
span.corners-toper {
background-image: none;
background-position: 0 0;
margin: 0px;
}
span.corners-toper span {
background-image: none;
background-position: 100% 0;
}
span.corners-bottomer {
background-image: none;
background-position: 0 100%;
margin: 0px;
clear: both;
}
span.corners-bottomer span {
background-image: none;
background-position: 100% 100%;
}
Awaits for i want to change the corner image and remove the border top and bottom.
pic:
-
- BBCoder I
- Posts: 3
- Joined: 31 Jul 2010, 06:32
Re: Rounding prosilvers corners
I guess you caught my backup plan post on phpBB.com
'i want to change the corner image and remove the border top and bottom.'
'i want to change the corner image and remove the border top and bottom.'
- Steve
- BBCoder VI
- Posts: 848
- Joined: 05 Mar 2010, 01:10
- BBCodes: 2000
- Favourite BBCode: p**n tube
- Favourite MOD: Non of Stokers
Re: Rounding prosilvers corners
Theres two places in prosilvers theme css files to remove the border top and bottom so,
Open styles/prosilver/theme/colours.css
find:
replace with:
Open styles/prosilver/theme/content.css
find:
replace with:
I will make some images tommorow getting late now.
Open styles/prosilver/theme/colours.css
find:
Code: Select all
li.row {
border-top-color: #FFFFFF;
border-bottom-color: #00608F;
}
Code: Select all
li.row {
border-top-color: none;
border-bottom-color: none;
}
find:
Code: Select all
li.row {
border-top: 1px solid #FFFFFF;
border-bottom: 1px solid #8f8f8f;
}
Code: Select all
li.row {
border-top: none;
border-bottom: none;
}
- Steve
- BBCoder VI
- Posts: 848
- Joined: 05 Mar 2010, 01:10
- BBCodes: 2000
- Favourite BBCode: p**n tube
- Favourite MOD: Non of Stokers
Re: Rounding prosilvers corners
ok i made it look spot on and changed viewforum images around also.
Upload these images to prossilver/theme/images/*.* ** Make sure you do the thml code changes as posted above for forumlist_body.html and viewforum_body.html.
Open styles prosilver/theme/colours.css
find:
replace with:
find:
add after:
find:
replace with:
Open styles prosilver/theme/content.css
find:
replace with:
Refresh theme in admin control panel for prosilver will look like this now.
Upload these images to prossilver/theme/images/*.* ** Make sure you do the thml code changes as posted above for forumlist_body.html and viewforum_body.html.
Open styles prosilver/theme/colours.css
find:
Code: Select all
.forabg {
background-color: #0076b1;
background-image: url("{T_THEME_PATH}/images/bg_list.gif");
}
.forumbg {
background-color: #12A3EB;
background-image: url("{T_THEME_PATH}/images/bg_header.gif");
}
Code: Select all
.forabg {
background-color: #0076b1;
background-image: url("{T_THEME_PATH}/images/bg_list.gif");
}
.forumbg {
background-color: #0076b1;
background-image: url("{T_THEME_PATH}/images/bg_list.gif");
}
Code: Select all
span.corners-bottom span {
background-image: url("{T_THEME_PATH}/images/corners_right.png");
}
Code: Select all
/* duplice for internal corners css */
span.corners-toper {
background-image: url("{T_THEME_PATH}/images/corners_lefter.png");
}
span.corners-toper span {
background-image: url("{T_THEME_PATH}/images/corners_righter.png");
}
span.corners-bottomer {
background-image: url("{T_THEME_PATH}/images/corners_lefter.png");
}
span.corners-bottomer span {
background-image: url("{T_THEME_PATH}/images/corners_righter.png");
}
Code: Select all
li.row {
border-top-color: #FFFFFF;
border-bottom-color: #00608F;
}
Code: Select all
li.row {
border-top: none;
border-bottom: 1px solid #0076b1;
}
find:
Code: Select all
border-top: 1px solid #FFFFFF;
border-bottom: 1px solid #8f8f8f;
Code: Select all
li.row {
border-top: none;
border-bottom: 1px solid #0076b1;
}
Re: Rounding prosilvers corners
wooow looks great now, thx a lot for your edits xD
is this only for forums or are the edits also affect all boxes in phpbb3
is this only for forums or are the edits also affect all boxes in phpbb3
Last edited by neptune on 05 Aug 2010, 14:55, edited 1 time in total.
Re: Rounding prosilvers corners
on all "forabg" corners on every box like arcade or nv recent topics or anouncement centre etc.
Re: Rounding prosilvers corners
seems like you want a completely different style than the default prosilver!