-
AuthorPosts
-
monalh Friend
monalh
- Join date:
- March 2012
- Posts:
- 68
- Downloads:
- 23
- Uploads:
- 21
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
October 2, 2012 at 4:31 pm #181141Hi!
Hope someone could explain this to me.. I want to place a module to the right of my logo. See the attached photo. I want the opportunity to write different things here, or insert images when needed. The Logo is 70px high, and this module could be 70-80 px high, and aligned either to the right (600 px width) or the whole width of the site (1000px). As far as I can see using ?tp=1 the logo is placed inside top.header together with menu and search. What do I need to do to create a new module-position here?This is how the layout-setting looks like
<?xml version=”1.0″ encoding=”utf-8″?>
<layout name=”desktop”>
<!–Extra css load for this layout–>
<stylesheets>
</stylesheets>
<blocks name=”top” style=”xhtml”>
<block name=”absolute” type=”modules” style=”raw”>absolute</block>
<block name=”top-panel” type=”modules” style=”raw” main-inner=”1″>top-panel</block>
<block name=”mainnav” type=”mainnav” main-inner=”1″></block>
<block name=”header” type=”header” main-inner=”1″></block>
<block name=”topsl” type=”spotlight” main-inner=”1″>user1,user2,user3,user4,user5</block>
</blocks>
<blocks name=”middle” colwidth=”45″>
<block name=”inset1″ width=”20″>left</block>
<block name=”content-mass-top”>slideshow</block>
<block name=”right1″>right</block>
</blocks>
<blocks name=”bottom” style=”xhtml”>
<block name=”below” type=”spotlight” main-inner=”1″>below1,below2,below3</block>
<block name=”footer” type=”footer”></block>
</blocks>
<blocks name=”bottom” style=”xhtml”>
<block name=”navhelper” type=”navhelper” main-inner=”1″></block>
<block name=”botsl” type=”spotlight” main-inner=”1″ >user6,user7,user8,user9,user10</block>
<block name=”footer” type=”footer”></block>
</blocks>
</layout>
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 3, 2012 at 8:54 am #468959Hi monalh,
For this Ja puresite template, the navigation is placed beside the logo, Do you want to replace the navigation by a module position ? Can you share with me here your url, there also already are a module position name social in header area you can try to assign your modules to that position.
monalh Friendmonalh
- Join date:
- March 2012
- Posts:
- 68
- Downloads:
- 23
- Uploads:
- 21
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
October 3, 2012 at 1:52 pm #469006Hi!
Sorry, I forgot to attach the url… http://www.wayosi.no.
I did look for social however I did not find such a position when I try to assign my module to positions.monalh Friendmonalh
- Join date:
- March 2012
- Posts:
- 68
- Downloads:
- 23
- Uploads:
- 21
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
October 3, 2012 at 4:14 pm #469034Actually, on further look I found social. I just wrote it with text under the “choose position” backend. But it then appears underneath the menu. I might have done some changes earlier who put the logo above the header..
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 4, 2012 at 7:12 am #469102Hi monalh,
You could try as following
Open the templates/your_template/css/template.css file and adding this css rule#ja-top > div#ja-social {
position: relative;
top: -70px;
}here you would need to adjust value of the top attribute to get the module display right at the position you wanted.
monalh Friendmonalh
- Join date:
- March 2012
- Posts:
- 68
- Downloads:
- 23
- Uploads:
- 21
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
October 4, 2012 at 1:26 pm #469144Hi!
Thank you, that code seemed to do the job! However, a large blank area between menu and slideshow appeared. I have tried to figure it out using Firebug, but can’t seem to find the right code to decrease the distance. When I unpublish the module, everything is back to normal.. Any suggestions?
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 2 voices, and was last updated by Sherlock 12 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum