-
AuthorPosts
-
intmarine Friend
intmarine
- Join date:
- March 2013
- Posts:
- 4
- Downloads:
- 35
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
September 26, 2014 at 1:36 pm #201626Hello; my objective is to place a banner ad on level with the logo, between the logo and the login button on a basically plain Mendozite site.
I can place a banner in ‘top-right’, but three things occur:
1) the spacing is wrong, that is, the banner is too low, which causes the logo area – but not the logo – to expand downward.2) a 2nd banner appears, below the logo. On examination, with ?tp=1, it appears that there are 2 ‘top-right’ positions on the Mendozite template; one in the top.header and one in top-header2. Did I create top.header2 in my attempts, or is it always there and …will removing it cause something horrible to happen?
3) for some reason the ad that I made – a simple button that points to a movie – it never appears…it is clear!
Finally, bonus question; what would you recommend using to make this banner trigger a pop-up that the Vimeo movie can play in, instead of opening a new page?
Thank you.
ꦯꦸꦕꦶ ꦏꦸꦂꦤꦶꦲꦮꦤ꧀ Friendꦯꦸꦕꦶ ꦏꦸꦂꦤꦶꦲꦮꦤ꧀
- Join date:
- April 2008
- Posts:
- 100
- Downloads:
- 9
- Uploads:
- 11
- Thanks:
- 8
- Thanked:
- 39 times in 32 posts
September 27, 2014 at 9:25 pm #550909check templates/ja_mendozite/etc/layouts/default.xml
I think this block of code
<block name="header2" type="spotlight" main-inner="1" special="right" specialwidth="33">top-right</block>
is the one which causing your problem..
and I guess you made this one :), you can remove it..now, check templates/ja_mendozite/blocks/header.php
you have added
<?php if($this->countModules('top-right')) : ?>
<div id="cj=top-right">
<jdoc:include type="modules" name="top-right" />
</div><?php endif; ?>
yet, you haven’t add any style for that
(p.s. : I have add
#cj-top-right {
width:200px;
float:left;
}
you can adjust it to suit your needyou can try using JA Popup Plugin to achieve your bonus question
hope this help
1 user says Thank You to ꦯꦸꦕꦶ ꦏꦸꦂꦤꦶꦲꦮꦤ꧀ for this useful post
intmarine Friendintmarine
- Join date:
- March 2013
- Posts:
- 4
- Downloads:
- 35
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
September 30, 2014 at 7:34 am #551101Thank you nawainruk…
I think I took out the correct line for part 1 (… etc/layouts/default.xml). I put that in so long ago, when I started fishing for a solution. So, that helps right away.For part two, I can see what I put into /blocks/header.php; but I can’t understand where to put in the style that you suggest to start with. Can you give me another clue? It has the proper height position now, but it is a bit squished.
With a little backend work, I can see a the banner showing up on some pages, but never the front page. And it is inconsistent. I can see it on a PC and Firefox, but not on the Mac with Safari or Firefox.
Thanks for the suggestion: I tried JA Popup. It doesn’t seem to have a Vimeo option, so I tried it like the YouTube.
http://{japopup type=vimeo content=https//vimeo.com/95426165 group1=thickbox width=960 height=540 title=Introduction to the Digital eXperience Guardian}Introducing the Guardian; the Digital eXperienceThat doesn’t work. I could also just play a .mov file that I could lay onto the site, but can’t see how to make that work either.
Thanks again.
ꦯꦸꦕꦶ ꦏꦸꦂꦤꦶꦲꦮꦤ꧀ Friendꦯꦸꦕꦶ ꦏꦸꦂꦤꦶꦲꦮꦤ꧀
- Join date:
- April 2008
- Posts:
- 100
- Downloads:
- 9
- Uploads:
- 11
- Thanks:
- 8
- Thanked:
- 39 times in 32 posts
September 30, 2014 at 11:53 am #551162Hi.. I mean you got to put css style to make it work the way you want.
go to your template.css located under ja_mendozite/css/ folder, you can find the style for your #cj-top-right
adjust the style from thereI don’t think I’m following you here
With a little backend work, I can see a the banner showing up on some pages, but never the front page. And it is inconsistent. I can see it on a PC and Firefox, but not on the Mac with Safari or Firefox
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by ꦯꦸꦕꦶ ꦏꦸꦂꦤꦶꦲꦮꦤ꧀ 10 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum