Divide Header into 2 modules
- GK User
- Sun Jan 15, 2012 11:39 pm
Hi,
I want to split header in two, how can I do that? Like fx header1 width:726px and header2 width:254px.
I know how to make new positions and how to include them in default.php, but what changes do I have to make in the css?
This is what I see in layout.css:
#gkHeader { margin-top: 0; margin-bottom: 10px; overflow: inherit!important; }
...
#gkHeader { border-collapse: collapse; display: table; width: 100%; }
But is there another way
I want to split header in two, how can I do that? Like fx header1 width:726px and header2 width:254px.
I know how to make new positions and how to include them in default.php, but what changes do I have to make in the css?
This is what I see in layout.css:
#gkHeader { margin-top: 0; margin-bottom: 10px; overflow: inherit!important; }
...
#gkHeader { border-collapse: collapse; display: table; width: 100%; }
But is there another way
-

- Junior Boarder
- teitbite
- Mon Jan 16, 2012 12:05 am
Hi
You can use 2 modules in the same header position with module class suffixes and than show it next to each other. Let say module dlass suffix will be calles head1 and head2 than css code will look like:
You can use 2 modules in the same header position with module class suffixes and than show it next to each other. Let say module dlass suffix will be calles head1 and head2 than css code will look like:
- Code: Select all
.head1 { float:left; width:70%; }
.head2 { float:right; width:28% }
-

- Moderator
- GK User
- Tue Jan 17, 2012 7:45 pm
Thank you! It works fine. Used px instead of %
-

- Junior Boarder
- teitbite
- Wed Jan 18, 2012 2:07 am
Hi
Glad I could help
Glad I could help
-

- Moderator
- GK User
- Sun Jan 29, 2012 11:27 pm
hi,
into which css-file do i have to put the code for .header1 and .header2?
best regards,
stefan
into which css-file do i have to put the code for .header1 and .header2?
best regards,
stefan
-

- Junior Boarder
- teitbite
- Tue Jan 31, 2012 1:18 am
Hi
The best way is to use override.css file but please remember to allow using of this file in template settings.
The best way is to use override.css file but please remember to allow using of this file in template settings.
-

- Moderator
- GK User
- Tue Jan 31, 2012 5:14 am
hi,
thank you very much. works perfectly.
Stefan
thank you very much. works perfectly.
Stefan
-

- Junior Boarder
- teitbite
- Wed Feb 01, 2012 2:08 am
Hi
No problem. Glad I could help.
No problem. Glad I could help.
-

- Moderator
8 posts
• Page 1 of 1
