Skip to content

dart-creations.com

Advertisement
Home arrow Joomla arrow Joomla Tutorials arrow Removing the top position from the rhuk solarflare ii template
Print E-mail

Removing the top position from the rhuk solarflare ii template 

Lots of people use the default joomla template for their websites. However, this has a nasty top position which is a bit difficult to remove unless you understand CSS really well. To remove the top position from the template, you need to do the following. 

You need to edit two files:

templates/rhuk_solarflare_ii/index.php
templates/rhuk_solarflare_ii/css/templates_css.css

In the index.php file find the following and delete it (or comment out)

Code:
<div id="top_inner">
<?php if ( mosCountModules( 'top' ) ) { mosLoadModules ( 'top' );
  } else {?>
<span class="error">Top Module Empty</span>
<?php }?> 
</div>
That removes the box. However, there is still a problem because it collapses other positions into it at this stage. Therefore, you need to edit the template CSS template_css.css file in the following two spots:
 
First, change the header width by finding
#header
and changing the width to 100%. You can choose to edit the height to suit your logo too.
Second, change the properties of the left modules so they stay in the right place by finding
#left_outer
and adding
clear:both;
somewhere between the {}
That's it, you have now completely eliminated the top module positions. For more information click here: understanding Joomla template positions.
Comments
Search RSS
Toilettissue  - Perfect   |134.226.1.xxx |2007-12-03 12:51:05
Worked great, thanks
astralfarmer  - easy   |72.155.2.xxx |2008-01-11 15:04:13
Thank you
apos  - PER-FECT   |195.167.92.xxx |2008-01-15 12:40:47
At last
someone who gave easy and working instructions!!!
THANX A LOT
really!!!
andy  - tried this - but my header col   |86.221.7.xxx |2008-02-06 16:38:35
Hi
Thanks for this - but I can't get it to work.
I tried following the
instructions and it gets rid of the top module (and the 'Top Module Empty'
text), but my header image disappears - I can see a small slither of something
at the top left and that's it.
Any ideas?
Ben  - thank you   |85.204.218.xxx |2008-04-04 06:42:15
great
jp  - border problem   |194.106.34.xxx |2008-05-11 15:24:05
Removing the top_outer div seems to kill the right-hand border for the whole
layout table/cell. Keeping the empty top_outer div made it work with no
problems.
Moose  - Cheers jp   |82.5.163.xxx |2008-05-22 16:34:45
jp's right; you ned to leave the top_outer div
DART Creations  - top outer div   |85.232.196.xxx |2008-05-22 17:27:54
Cheers guys, thanks for your input, I've updated the code to reflect your
suggestions.
DmitryRx7  - Worked Perfect!   |71.135.43.xxx |2008-06-18 07:58:38
Great instructions, very easy and worked great!
tesr  - fdsfd   |118.101.141.xxx |2009-05-17 02:45:30
Boudga  - Top Module Empty on one page     |98.197.119.xxx |2010-02-07 17:13:47
I have a module set in my header and it displays properly in all of may
page except for one page. I do not know why it fails to display.

I
have turned on error logging and there are no related errors, and I
turned on PHP error reporting and there are no related errors there
either.

Any ideas what could prevent the module
from displaying?

Here is the code that displays the module in the
header.php file...

nolinkspls://pastebin.ca/1789132
jartjurt  - remove main text area on frontpage   |221.252.13.xxx |2010-04-22 04:11:06
hey guys!
was wondering if you could help me out.
i just made a new page with a
showcase plugin with pictures in it on the front page. i dont want the frontpage
to display the main text area below that showcase module. is there a way of
removing it?

i removed all modules from that area but there is still a blank
white area displaying.

any advice is very much appreciated!
thanks a lot!
Alex
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 

Buy us a beer!

If we've helped you, consider buying a beer €3. It will inspire us to keep on giving! Cheers!


Pagerank
Generated in 0.44224 Seconds