|
Page 1 of 1
|
crimsonsun
Joined: May 2008
Posts: 20
|
[SOLVED] A Few Questions, Blackpearl-Topbanner And Titlebar
Hey guys, a few questions.. This is the site: http://relentless-guild.tk/ it is using IP, BP for IP, Patch & CMS ADV.
1. You will notice to the right of the banner is a small gap between that and the right hand side shadow. You can just make out the gradient behind. As you probably have guessed, in order to get the banner image up there I simply renamed and replaced /templates/mg_themes/images/p_black/sitelogo_small.png. I've had a play with the ACP > Configuration > Headers & Banners > Banner Management section, I added a simple img src tag, but I think this is also wrong. Can someone fill me in or point me in the right direction on the correct method of changing the top banner?
2. I would like to change the background for the title bars of the blocks on the front page. (Recent, Welcome, User Block, Ventrilo, Who Is Online, Statistics, etc). This appearance is also used for the category blocks on the forums and quite a few places through-out. I would like to change this to the background used at the top navigation (Home, Forum, New, Profile, Search, FAQ, Log out). I've had a look at style_p_black.css but to no avail If you take a look at: http://meh.bemyhero.co.uk/portal.php you can see they have achieved this, and for only the blocks on the front page, the background remains on the category forum title bars. I don't think they are using IP though, only phpbb and the bp theme.
3. Can I remove the two collapsable boxes when you view a forum? (Icon Description & Permissions List)
Thank you; any help will be very much appreciated. If you need any clarifications please ask.
Last edited by Guest on Sun 08 Jun, 2008 00:16; edited 1 time in total |
#1 Thu 29 May, 2008 12:56 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Inactive User
|
Re: A Few Questions, Blackpearl - Topbanner And Titlebars
One thing at a time.
The "gap" is more than likely this conflict.
<div style="width:960px;clear:both;margin: 0 auto;">
h**p://***.crimsonsun.centelia.net/...elogo_small.png is 964x300
Your banner is wider than the forum width you have set?
The rest of your questions means editing a whole lot of templates and .css
Your permission and legend blocks you should find in view_forum.tpl and view_topic.tpl and there are also the same sort of blocks in Album etc.
|
#2 Fri 30 May, 2008 06:12 |
|
crimsonsun
Joined: May 2008
Posts: 20
|
Re: A Few Questions, Blackpearl - Topbanner And Titlebars
Hi, thank you so much for the reply.
1. Ok, Yes - the banner image displayed was 964px, it was originally 960px but this is when I first noticed the gap, so I added on 4px to the image in hope that it would fill the gap, instead it was just extended. I have replaced the 964px image with the original 960px image so you can see my orginal result. Any ideas? The original IP sitelogo_small.png was left aligned, I have not changed this; perhaps this is the cause? If so, where shall I edit?
2. Well in order to achieve this, what are the steps that would need to be completed? Can you point out the key files of interest? I'm having a bit of a play now, I'll post any progress.
3. I have now managed to remove the Permission List and Icon Description boxes in viewtopic_body.tpl & viewforum_body.tpl - Thank you very much I used Dreamweaver to edit the .tpl files, took about 20 seconds in WYSIWYG mode. Fantastic.
Kind Regards
|
#3 Fri 30 May, 2008 13:24 |
|
Inactive User
|
Re: A Few Questions, Blackpearl - Topbanner And Titlebars
Do the header last
For the Quick-Links menu you will have to edit nav_quick_links.tpl
If you remove the class from the first <table the bg should change to the BG color - So you will have to replace it with another class if you want to change that for a new background color, padding and margins etc, etc..
The images (on the left) are all <img src="strings - so you can remove them to get rid of the images.
Edit:
Re the shadow / header: It may sound stupid? In overall_footer_*Your style*.tpl - find x2 "250" and change to 25%. The fixed width's in the footer is probably affecting the fixed width of the forum.
|
#4 Fri 30 May, 2008 13:42 |
|
crimsonsun
Joined: May 2008
Posts: 20
|
Re: A Few Questions, Blackpearl - Topbanner And Titlebars
Heya,
1. Changing the 250 to 25% in both spots in overall_footer_bl.tpl and overall_footer.tpl (just incase) hasn't made any difference
2. So.. Based on what you mention about the Quick-Links menu (I am not sure why you focus on this specific one?), I removed the class="forumlinenb" tag from the first table and the background disappeared to the default background like you said. Now since I am trying to keep this background and use it instead of the default title bars, I tried adding this same class tag to other tables in other blocks, but to no avail.
This is the image I am trying to use as the background for all title bars on blocks: http://www.crimsonsun.centelia.net/...black/bg_th.gif
I have had a play with Firebug and identifed the graphics used for the current blocks:
images/p_black/tbl_h_l.gif
images/p_black/tbl_h_c.gif
images/p_black/tbl_h_r.gif
images/p_black/tbl_f_l.gif
images/p_black/tbl_f_c.gif
images/p_black/tbl_f_r.gif
Now I've opened up style_p_black.css and found the following:
.roundedtop {
margin-top: 5px;
margin-bottom: 0px;
/*
background: url( images/p_black/tbl_h_c.gif) bottom left repeat-x;
*/
}
.roundedtop td {
height: 29px;
white-space: nowrap;
/*
background: none;
*/
}
.topcorners {
vertical-align: bottom;
width: 27px;
height: 29px;
}
.roundedhl {
background: url( images/p_black/tbl_h_l.gif) no-repeat;
}
.roundedhc {
background: url( images/p_black/tbl_h_c.gif bottom left repeat-x;
/* MG XMas */
/*background: url(images/p_black/xmas/tbl_h_c.gif) bottom left repeat-x;*/
/* MG XMas */
}
.roundedhr {
background: url( images/p_black/tbl_h_r.gif) no-repeat;
}
.roundedfl {
background: url( images/p_black/tbl_f_l.gif) no-repeat;
}
.roundedfc {
background: url( images/p_black/tbl_f_c.gif) top left repeat-x;
}
.roundedfr {
background: url( images/p_black/tbl_f_r.gif) no-repeat;
}
.roundedbottom {
margin-top: 0px;
margin-bottom: 5px;
}
/* navigation */
I tried changing all the links to point to images/p_black/bg_th.gif but nothing seemed to change, which I thought most odd, even emptied local browser cache, perhaps I should have waited longer for the website server to update?
Thank you for your help Lopalong,
Kind Regards
|
#5 Fri 30 May, 2008 15:08 |
|
Inactive User
|
Re: A Few Questions, Blackpearl - Topbanner And Titlebars
Those images are controlled by, and the strings are in mg_themes.cfg.
The strings in the .css are there for a purpose, but it's really only the *_c_* strings that are used to call images.
Why the menu ?
Because it's a stand-alone .tpl file and the rest are either controlled by the CMS (That's why you can't change it in the block.tpl files) or by direct editing the block files for tweaking. To remove the borders, background and title etc, from the CMS blocks you need to use the CMS manager, and if you want to move things around within those blocks, or add new markup; then you will need to do that in the block *.tpl files.
|
#6 Fri 30 May, 2008 23:44 |
|
crimsonsun
Joined: May 2008
Posts: 20
|
Re: A Few Questions, Blackpearl - Topbanner And Titlebars
1. I have now fixed the top graphical banner. There was an extra column in the table used as space for input entered through the ACP > Headers section, removing the cell has fixed the problem.
2. I notice towards the end of mg_themes.cfg are the Might Gorgon Rounded Corners, there is also a rounded table text file.. However if you take another look at the site: http://relentless-guild.tk you will notice I've managed to edit it slighty, by way of style_p_black.css I've tried many different combinations of changing the Header Left, Header Right, Header Center. Only the center seems to make any difference.. I can not get rid of the rounded corners, that is the only problem I have..
How to remove the rounded corners?
Thank you, again
|
#7 Sat 31 May, 2008 15:22 |
|
Inactive User
|
Re: A Few Questions, Blackpearl - Topbanner And Titlebars
Replace the rounded-corner graphics with square ones cut from a screen-shot of your forum. Make them the same dimensions as the rounded ones because unfortunately IP themes have in place not only "fixed" width's in the script - mg_themes.cfg - but also in the .css to do the same thing. Unless you feel comfortable in editing both to remove those restrictions, then simply make them the same size.
Not sure why you would have to remove block-markup from the header, but I will have a look at that later on. When I can access your site.
|
#8 Sat 31 May, 2008 23:32 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|