1
StevenB
Help with slogan line in header, Neo Blue theme
  • 2006/11/26 23:00

  • StevenB

  • Just popping in

  • Posts: 61

  • Since: 2006/9/3 2


xoops 2.014, Neo blue theme (with hack for 2.014)

I know some css but this one I can't get for some reason. What I want to have is something like this:

[size=x-large]My Site Name[/size]
My Site Slogan Here

In themes/neoblue/theme.html the current code is:
<div class="headerlogo_c">
<
h1><a href="<{$xoops_url}>/" title="<{$xoops_sitename}>"><{$xoops_sitename}>a>h1>
div>


What I have been trying is variations like this:
<div class="headerlogo_c">
<
h1><a href="<{$xoops_url}>/" title="<{$xoops_sitename}>"><{$xoops_sitename}>a>h1><h3><br/>This is my Site Sloganh3>
div>


It seems like that should work to me but it actually places the slogan at the top of the main nav (navsections) instead.

Any help for this rookie would be appreciated.

Thanks,
Steve

2
snow77
Re: Help with slogan line in header, Neo Blue theme
  • 2006/11/26 23:38

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


looks fine to me except I don't know what the
is doing there since heading tags usually already cause a line break, and why not use the smarty to call the slogan? :
<{$xoops_slogan}>


This is looking ok on a test I did
<h1><a href="<{$xoops_url}>/" title="<{$xoops_sitename}>"><{$xoops_sitename}>a>h1>
<
h3><{$xoops_slogan}>h3>


it's be hard to tell what else could be causing the conflict without seeing a link to your site and the full css.

what's a theme hack for 2.0.14 ?

3
Northern
Re: Help with slogan line in header, Neo Blue theme
  • 2006/11/26 23:54

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


another way would be:
<div class="headerlogo_c">
<
h1><a href="<{$xoops_url}>/" title="<{$xoops_sitename}>"><{$xoops_sitename}>a>h1>
<{
$xoops_pagetitle}>
div>


and then in your style.css
#neoblueheader .headerlogo_c {
    
margin0px;
    
height104px;
    
text-align:center;


to

#neoblueheader .headerlogo_c {
    
margin0px;
    
height124px;
    
text-align:center;


this will bet the pesty menu off the slogon.

4
StevenB
Re: Help with slogan line in header, Neo Blue theme
  • 2006/11/27 0:42

  • StevenB

  • Just popping in

  • Posts: 61

  • Since: 2006/9/3 2


FIXED!

Yes but the real problem lies here...

themes/neoblue/css/style.css
#neoblueheader h1 {
margin: 0px;
line-height:100px;
font-size:xx-large;

to:
#neoblueheader h1 {
margin: 0px;
line-height:55px;
font-size:xx-large;

Thanks for the helpp guys/gals!

Steve

5
StevenB
Re: Help with slogan line in header, Neo Blue theme
  • 2006/11/27 1:07

  • StevenB

  • Just popping in

  • Posts: 61

  • Since: 2006/9/3 2


Sorry, forgot to say the hack I was referring to was this one., maybe it's not a hack.

Also, I knew the <{$xoops_slogan}> had to be, but I couldn't find it. Anyone know of an FAQ or post that list them all?

Steve

6
snow77
Re: Help with slogan line in header, Neo Blue theme
  • 2006/11/27 2:20

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


See thread Where can I find a list of XOOPS Smarty tags?

and you can use the search, it can give you many other answers

Login

Who's Online

401 user(s) are online (92 user(s) are browsing Support Forums)


Members: 0


Guests: 401


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits