Need to delete space above logo

Started by Jeremy M., November 09, 2013, 12:46:57 PM

Previous topic - Next topic

Jeremy M.

http://www.big-blue-nation.com/index.php?action=forum

This is probably a simple fix, but i'm having trouble. What file would I need to look at in order to remove the "space" that is above my logo?

TheDragon

not sure with out looking it up
but your image is also to wide 1156 ?
and it looks like your forum is set to %%v(not fixed width)
which causes its own issues
(IMHO)

Jeremy M.

Quote from: TheDragon on November 09, 2013, 12:58:33 PM
not sure with out looking it up
but your image is also to wide 1156 ?
and it looks like your forum is set to %%v(not fixed width)
which causes its own issues
(IMHO)


/* Set a fontsize that will look the same in all browsers. */
body
{
background: #020201 url(../images/theme/background.png) repeat;
background-attachment:fixed;
font-family: "Verdana", "Arial", "Helvetica", sans-serif;
font-size: 78%;
margin: 0;
padding: 0;
}

TheDragon

hmmm . . . .
not sure why you posted that code?

Jeremy M.

Quote from: TheDragon on November 09, 2013, 01:12:58 PM
hmmm . . . .
not sure why you posted that code?


because you said "and it looks like your forum is set to %%v(not fixed width)"  So i didn't know if i needed to revise the code or something.

TheDragon

yes = I would if mine
but not the code you showed
are you using some portal theme ?
(I use default theme  myself - )

looks like you also using a theme / Big Blue Nation

Oldiesmann

Looking at the generated source code, you've got a couple of line breaks above the logo section:

<br class="clear" /><br />

If you open up index.template.php, you should see that being output right before the call to theme_linktree(). Deleting at least one of those line breaks should remove the blank space.
Michael Eshom
Christian Metal Fans

Jeremy M.

Quote from: TheDragon on November 09, 2013, 01:18:37 PM
yes = I would if mine
but not the code you showed
are you using some portal theme ?
(I use default theme  myself - )

looks like you also using a theme / Big Blue Nation

Yeah, i'm using Simple Portal. I'm playing around with it. Not sure if i'm gonna keep it though.

TheDragon

I also found the class called "hi.forumtitle" in your index.css
it has padding left set to 6 and padding top set to 28
make them both be 0

TheDragon

i know VERY LITTLE about Portals
but if you are just learning how to make a FORUM
perhaps = keep things simple ???
(no  pun intended on the portal name)
also =
even using themes can add some issues

my comments are just MT personal opinion
experts here may have different thoughts



Jeremy M.

Quote from: TheDragon on November 09, 2013, 01:37:54 PM
i know VERY LITTLE about Portals
but if you are just learning how to make a FORUM
perhaps = keep things simple ???
(no  pun intended on the portal name)
also =
even using themes can add some issues

my comments are just MT personal opinion
experts here may have different thoughts

I started learning about php and such about a year ago. I'm still learning, of course, but I know a lot more now than i did then. . AND, a lot of questions I have already asked, so I just go back to my post/topic history and look through that. . LOL

TheDragon

Themes and Layout Settings
Theme Options and Preferences
Logo image URL:
(leave blank to show forum name or default logo.) Site slogan:
Add your own text for a slogan here. It will replace the SMF logo. Select default smiley set for this theme: Forum width:
Set the forum width. Examples: 950px, 80%, 1240px.

this is where  you should set your forum width to a FIXED number
(because you have such a large image for your logo)
or, you could use a smaller logo and then just center it

Jeremy M.

Quote from: TheDragon on November 09, 2013, 01:33:36 PM
I also found the class called "hi.forumtitle" in your index.css
it has padding left set to 6 and padding top set to 28
make them both be 0


hi.forumtitle isn't in my index.css. . . I use Dreamweaver for editing and i search for things, but it doesn't find it. Are you sure it's not another file?

Oh, and removing the breaks before the menu didn't help. . I tried all of them. . lol

TheDragon

search 'forumtitle' in index.css
in themes/default/css folder
(or in your themed folder)


Jeremy M.

Quote from: TheDragon on November 09, 2013, 02:13:11 PM
search 'forumtitle' in index.css
in themes/default/css folder
(or in your themed folder)


i found it. it was h1.forumtitle  not "hi.forumtitle". . haha. . . totally ok tho. Not a big deal. . . that padding took care of the space above the logo. Appreciate that very much.

Now i have another problem. When i centered my nav menu, I have a HUGE blue empty space at the end of that:  http://www.big-blue-nation.com/index.php

Would i need to edit the nav menu in the english.template file?

TheDragon

#15
you still have your forum WIDTH set to a %% of / not a fixed width
suggest about 1250px ?? to be less than most laptops these days ? ? ? ?

not sure / what file name = will look / but the Div ID width set to 65% (hence the balance is filled with the blue png file
************
mine is contgrolled in the index.css  ==> #main_menu

yours looks like might be controlled elsewhere
as your page source code as an inline style command
<div style="width:30%; margin:0 auto;">

Jeremy M.

Quote from: TheDragon on November 09, 2013, 03:49:50 PM
you still have your forum WIDTH set to a %% of / not a fixed width
suggest about 1250px ?? to be less than most laptops these days ? ? ? ?

not sure / what file name = will look / but the Div ID width set to 65% (hence the balance is filled with the blue png file


i set it to 1250px. . . Now, i need to find the Div ID

Jeremy M.

I found what i needed to find. What do i need to change it to?

// Show the menu here, according to the menu sub template.
echo '   
   <div style="width:65%; margin:0 auto;">',template_menu(),'</div>';

TheDragon

ah . . .
you posted while I was posting
30% vs 65% will work


Jeremy M.

Quote from: TheDragon on November 09, 2013, 04:13:48 PM
ah . . .
you posted while I was posting
30% vs 65% will work

Setting that to 30% and I get this: (image attached)

Jeremy M.

When I am logged in, the menu is centered perfectly (except for all of the extra blue space). . But, when i logout, the button that are there, are all aligned left.  I'm not certain what needs to be done.  (image attached)

TheDragon

yes  - you get items to wrap = I only saw the few menu items as the guest
then make a number between 30 and 65
also
your new logo image is very tall
makes for an odd title bar



TheDragon

after you pick the final image
I call help u with the ##S

Jeremy M.

Quote from: TheDragon on November 09, 2013, 08:05:14 PM
after you pick the final image
I call help u with the ##S


That's the logo that i want to use. I also posted another support question a few moments ago on what I would like to accomplish, too. .

Advertisement: