-
AuthorPosts
-
August 26, 2012 at 10:16 pm #180259
Hi I would like a space in the template to place another image opposite where the logo sits. I hav eincluded an image below to show what I mean.
Appreciate your help
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
August 27, 2012 at 6:58 am #465430Hi deanandeva,
You can make a new custom html module, put your new logo there then you place a new module position at that place and assign the created module to it.
To insert a new module position that place, For example you want to insert a new position name logo1 you could try as followingOpen the file of templatesja_ziteblocksheader.php and adding this block of code to it’s bottom
<?php if($this->countModules(‘footnav’)) : ?>
<div class=”ja-logo1″>
<jdoc:include type=”modules” name=”logo1″ />
</div>
<?php endif; ?>Now you have a new module position name logo1 to assign your module, to get that new position display opposite the main logo you also need to add some style for the div tag whose class=”ja-logo1″
Hope you got the ideal here.
September 2, 2012 at 6:38 am #465983Hi Thanks appreciate your help,
I have done what you suggested and posted to the ne wlogo position but it doesnt show.
When you say add styling, where do you suggest I add this ?, to template.css ?
The Image I want to add there is 300w x 80h, do I need to nominate these dimensions also ?
Appreciate your thoughts and maybe some sample code as a suggestion ?
Thanks
Dean
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 4, 2012 at 3:38 am #466038Hi deanamdeva,
You could try with this code
[PHP]
<?php if($this->countModules(‘logo1’)) : ?>
<div class=”ja-logo1″>
<jdoc:include type=”modules” name=”logo1″ />
</div>
<?php endif; ?>
[/PHP]
And then assign your module to the logo1 position, I Think that would help !September 9, 2012 at 8:12 am #466517Hi and thanks, but where do I put this code ?
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 10, 2012 at 2:20 am #466551<em>@deanandeva 337513 wrote:</em><blockquote>Hi and thanks, but where do I put this code ?</blockquote>
Putting at the file of templatesja_ziteblocksheader.php
September 16, 2012 at 12:58 pm #467124Hi I added this to the end of header.php but it still doesnt show?
http://www.c2chelp.comSherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 17, 2012 at 2:25 am #467152<em>@deanandeva 338342 wrote:</em><blockquote>Hi I added this to the end of header.php but it still doesnt show?
http://www.c2chelp.com</blockquote>Hi deanandeva,
you can pm me your FTP info, will need to take a look at the code to detect what was going wrong.
tdb6800 Friendtdb6800
- Join date:
- May 2012
- Posts:
- 34
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
November 18, 2012 at 10:58 pm #473326Did you ever get this solved?
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
November 21, 2012 at 3:47 am #473720<em>@tdb6800 346772 wrote:</em><blockquote>Did you ever get this solved?</blockquote>
Hi,Not sure what you meant. Did you want to do a customization like Deanandeva ?
If that’s the case, did you try out Sherlock Holmes’ suggestions?
<em>@Sherlock Holmes 336032 wrote:</em><blockquote>Hi deanandeva,You can make a new custom html module, put your new logo there then you place a new module position at that place and assign the created module to it.
To insert a new module position that place, For example you want to insert a new position name logo1 you could try as followingOpen the file of templatesja_ziteblocksheader.php and adding this block of code to it’s bottom
<?php if($this->countModules(‘footnav’)) : ?>
<div class=”ja-logo1″>
<jdoc:include type=”modules” name=”logo1″ />
</div>
<?php endif; ?>Now you have a new module position name logo1 to assign your module, to get that new position display opposite the main logo you also need to add some style for the div tag whose class=”ja-logo1″
Hope you got the ideal here.</blockquote>
AuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 4 voices, and was last updated by Luna Garden 12 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Image Opposite Logo
Viewing 10 posts - 1 through 10 (of 10 total)