BlackRainV.2

Started by Crip, August 18, 2007, 01:53:58 AM

Previous topic - Next topic

Hack

Hiya Crip

First of all, thank you for the theme, I am using it as a base for modifying (slightly) for the legion I am in for Aion. I am however having one slightly annoying problem and for the life of me I can't work it out :(

I am wanting the menu bar (the bit with forum, help, search etc) to be centrally aligned on the page. Being the noob I am with CSS and not knowing the changes so much between smf 1 and 2.0 I am having huge issues making the menu centre. At the moment (after a lot of hacking I have used..
#tabs6 {
position: relative;
left:80px;
width: 99%;
font-size:90%;
margin: auto;
line-height:normal;
height: 44px;


To kinda force it more centrally. This is very cludgy to say the least and will only look centred if the user doesn't have many buttons (guests see it waaaayyyy off centre).

I am guessing I am missing something really really simple to change so that the whole lot kinda grows from the middle instead of left to right..

You can see how much I have bodged it up so far by looking at www.aequalis-legion.com [nofollow]

Any help or advice greatfully received and you can even laugh at me for my noobness if you want?   ;D

bhw

I d like to change the logo to flash, can you tell me where in index.template.php I should do that?

big thx and great theme

Polymath

Where it says header_logo_url
* I don't suffer from insanity; I enjoy every minute of it. *
F.I.G.J.A.M

bhw


makaluch

I feel silly even asking this. I've spent some time learning this theme but I don't have a solid grasp just yet.

Where is the best place to insert a background-image ?

Crip

I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

makaluch

Thanks man! Too easy. I'm an id10t  :o lol.

Awesome work Crip.

Fabius85

any help on how to make the post form alingned correctly?

Fabius85

well, i fixed that on my own. if anyone needs, just add this to the end of index.css:
#post_header
{
margin-bottom: 0.5em;
border-bottom: 1px solid #CACDD3;
padding: 0.5em;
overflow: hidden;
}

#post_header dt
{
float: left;
margin: 0;
padding: 0;
width: 15%;
margin: .3em 0;
font-weight: bold;
}

#post_header dd
{
float: left;
margin: 0;
padding: 0;
width: 83%;
margin: .3em 0;
}

#post_header img
{
vertical-align: middle;
}

ul.post_options
{
margin: 0 0 0 1em;
padding: 0;
list-style: none;
overflow: hidden;
}

ul.post_options li
{
margin: 0.2em 0;
width: 49%;
float: left;
}

#postAdditionalOptionsHeader
{
margin-top: 1em;
}
#postMoreOptions
{
border-bottom: 1px solid #CACDD3;
padding: 0.5em;
}

#postAttachment, #postAttachment2
{
overflow: hidden;
margin: .5em 0;
padding: 0;
border-bottom: 1px solid #CACDD3;
padding: 0.5em;
}

#postAttachment dd, #postAttachment2 dd
{
margin: .3em 0 .3em 1em;
}

#postAttachment dt, #postAttachment2 dt
{
font-weight: bold;
}

#postAttachment3
{
margin-left: 1em;
}

#post_confirm_strip, #shortcuts
{
padding: 1em 0 0 0;
}

.post_verification
{
margin-top: .5em;
}

.post_verification #verification_control
{
margin: .3em 0 .3em 1em;
}


if you  even want the "shortcuts message" and the post and preview buttons centered under the middle of the editor box, add this too to the end of index.css:
#shortcuts {
margin-left: 15%;
}
#post_confirm_buttons {
margin-left: 29%;
}


MaXiForum.cz

Hi ALL
Good work Fabius85! ;)
But this theme have more bugs.

Could somebody fix it?
Thanks ;)

Fabius85

Quote from: MaXiForum.cz on November 29, 2009, 02:09:01 PM
Hi ALL
Good work Fabius85! ;)
But this theme have more bugs.

Could somebody fix it?
Thanks ;)

for the first problem (avatar choice), just add this to the end of your index.css:
#personal_picture
{
display: block;
margin-bottom: 0.3em;
}





for the second problem (Features and Options in admin panel), well, that's not an alignment bug of the theme, as you can see by switching to the SMF default theme. some options just dont have their "?" box, so everything is aligned to left.




for the third problem, in your index.css search for this:
#verification_control, #verification_control .smalltext
{
display: inline;
}


and replace it with this:
#verification_control, #verification_control .smalltext
{
display: block;
}


that's all ;)

airric00

How do I change the logo.   I tried doing it with the manager, but it puts it below the black rain logo.   I went to the templete file, but it is hard to see where to change the text.   

any help??

Crip

In the (index.templete.php) there is 1 < table > up @ top , this is where you change BRV2 logo / banner
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

airric00

I went into that file and it breaks it into section lines..   like beginning line1, 29, 68     Just seems weird.    Which box is that under?

Crip

Not sure your problem ? , you change it where i mentioned above
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

airric00

#255
This is what I see.. 

Fabius85

tip: use a text editor (maybe with syntax highlight) to edit files, not the online editor of smf.

however, logo is in index.template.php, search for: "myslogan.jpg"

MaXiForum.cz


airric00

Quote from: Fabius85 on November 29, 2009, 07:14:42 PM
tip: use a text editor (maybe with syntax highlight) to edit files, not the online editor of smf.

however, logo is in index.template.php, search for: "myslogan.jpg"


Figured it out.  I just uploaded my logo, renamed it to myslogan.jpg and just overwrite the current file.   Worked great... Thanks for the help.   

Crip

I told you that a few times
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Advertisement: