Find out more about the “Show Off Your Avatar Campaign
RocketTheme  |  General  |  Free/GPL/Tutorials Discussions  |  Topic: concerning module positions « previous next »
Pages: [1] 2 Go Down Print
Author Topic: concerning module positions  (Read 1930 times)
Sacha Lopar
Jr. Rocketeer
**
Offline Offline

Posts: 27

concerning module positions
« on: July 19, 2007, 10:31:12 AM »

Hello,
I followed the instructions of the tutorial and I saw how to add a new module, but could it be possible to define it's exact position? On the rokwebify template, I would like to put the user3 module or a new one nearby the logo. So I should reduce the width of the module and chage its position!

How can I do that?

Thank you
Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 36143


Firebug...Firebug...Firebug!

WWW
Re: concerning module positions
« Reply #1 on: July 21, 2007, 02:35:02 AM »

What about using the top module position? http://demo.rockettheme.com/rokwebify/index.php?tp=1
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Sacha Lopar
Jr. Rocketeer
**
Offline Offline

Posts: 27

Re: concerning module positions
« Reply #2 on: July 22, 2007, 02:03:41 AM »

Unfortunately it's not possible because, I need the same backgroud as for the user3 module! Is it possible to move it with the png file and change the position of the green horizontal bar?

If it's possible, I have to do that and my next problem will be to put the top menu nearby the bottom of the logo and make it larger!  I don't know if you see how I imagine it! The logo and the menu have to be on the same bottom line. Undecided

« Last Edit: July 22, 2007, 02:28:12 AM by Sacha Lopar » Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 36143


Firebug...Firebug...Firebug!

WWW
Re: concerning module positions
« Reply #3 on: July 22, 2007, 08:47:48 AM »

Just post a screenshot of what you are imagining Smiley
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Sacha Lopar
Jr. Rocketeer
**
Offline Offline

Posts: 27

Re: concerning module positions
« Reply #4 on: July 23, 2007, 10:25:58 AM »

http://www.tech-int.ch/example.jpg

The main menu will be on the green bar...but on this position there is no module...so my question was if it would be possible to do that?

If it's not possible I will try to change my template!

Thank you
Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 36143


Firebug...Firebug...Firebug!

WWW
Re: concerning module positions
« Reply #5 on: July 23, 2007, 10:48:36 AM »

From that picture, all you need to do is push the sub menu items to the right to not be hidden by the logo?
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Sacha Lopar
Jr. Rocketeer
**
Offline Offline

Posts: 27

Re: concerning module positions
« Reply #6 on: July 24, 2007, 08:50:07 AM »

Maybe it would be more clear with that picture (I modify it with photoshop and put the user3 module on the place I want!

www.tech-int.ch/example2.jpg

Actually, that module is under the logo (look on the original template!  Undecided

Thank you

Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 36143


Firebug...Firebug...Firebug!

WWW
Re: concerning module positions
« Reply #7 on: July 25, 2007, 12:49:30 AM »

In template_fcss.css, find

Quote
div#horiz-menu {
background:url(../images/menu-bg.png) repeat-x scroll 0pt 50%;
height:36px;
}

Change to something like
Quote
div#horiz-menu {
background:url(../images/menu-bg.png) repeat-x scroll 0pt 50%;
height:36px;
margin-top:-38px;
width:400px;
float:right;
}
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Sacha Lopar
Jr. Rocketeer
**
Offline Offline

Posts: 27

Re: concerning module positions
« Reply #8 on: July 26, 2007, 01:54:05 PM »

Oh cool, thank you! It's quite ok, but I just need to adapt some parameters!
See here: www.tech-int.ch/result.jpg

In my css code, I had this:
Code:
div#horiz-menu {
background: url(../images/menu-bg.png) 0 0 repeat-x;
height: 36px;

no "scroll 0pt 50%" because when I tried to add it, the whole menu dissapear :S

So now I have this:
Code:
div#horiz-menu {
background: url(../images/menu-bg.png) 0 0 repeat-x;
height: 36px;
margin-top:-38px;
width:400px
float:right;

My actual problem is that there is no more links on the menu (I can't click on them) and my TransMenu doesn't work!

I tried to change the width, but the green menu didn't move... that's bizarre! Huh
« Last Edit: July 26, 2007, 01:56:46 PM by Sacha Lopar » Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 36143


Firebug...Firebug...Firebug!

WWW
Re: concerning module positions
« Reply #9 on: July 26, 2007, 01:57:30 PM »

Could you make your site online?
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Sacha Lopar
Jr. Rocketeer
**
Offline Offline

Posts: 27

Re: concerning module positions
« Reply #10 on: July 28, 2007, 01:23:32 AM »

I can try to put it online for a short time, but it's complicated because I'm doing it for a friend's firm, so I'm afraid that some of clients try to go to site and see it completely unfinished...
But if that can help you I can do that! For today! (The next week I'll be out, bu as soon I'm back we can continue)

The site is now online!
Thank you for your help
Logged
Sacha Lopar
Jr. Rocketeer
**
Offline Offline

Posts: 27

Re: concerning module positions
« Reply #11 on: July 28, 2007, 01:35:40 AM »

[edit]
Ok I tried again and now it's ok, the position is ok! But the links even don't work (without margin-top it works)! And the other problem is that when I reduce the complete window, the menu bar goes under the logo! Could it be possible to fix it and make it reducing if the screen resolution is lower?
I triesd to put 80% for the width, but that doesn't work! Embarrassed
Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 36143


Firebug...Firebug...Firebug!

WWW
Re: concerning module positions
« Reply #12 on: July 28, 2007, 01:45:30 AM »

Change to
Quote
div#horiz-menu {
   background: url(../images/menu-bg.png) 0 0 repeat-x;
   height: 36px;
   margin-top:-38px;
   width:400px
   float:right;
        position:relative;

You will need to edit transmenu.css with the new location.
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Sacha Lopar
Jr. Rocketeer
**
Offline Offline

Posts: 27

Re: concerning module positions
« Reply #13 on: July 28, 2007, 04:24:55 AM »

ok, so now, the links work, but if you try to reduce the window you will see the menu going over the logo! It doesn't want to be fixed on the right!

And for the transmenu, I only have .js file ..so it's more complicated than .css
Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 36143


Firebug...Firebug...Firebug!

WWW
Re: concerning module positions
« Reply #14 on: July 28, 2007, 07:04:54 AM »

Try changing to

Quote
div#horiz-menu {
   background: url(../images/menu-bg.png) 0 0 repeat-x;
   height: 36px;
   margin-top:-46px;
   margin-left:232px;
}

Change
Quote
div#header .rk-2 {
background:transparent url(../images/header-l.png) no-repeat scroll 0pt;
height:153px;
overflow:hidden;
}

To
Quote
div#header .rk-2 {
background:transparent url(../images/header-l.png) no-repeat scroll 0pt;
height:153px;
overflow:hidden;
width:332px;
}
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Pages: [1] 2 Go Up Print 
RocketTheme  |  General  |  Free/GPL/Tutorials Discussions  |  Topic: concerning module positions « previous next »
Jump to: