test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • intmarine Friend
    #201626

    Hello; 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
    #550909

    check 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 need

    you can try using JA Popup Plugin to achieve your bonus question

    hope this help

    intmarine Friend
    #551101

    Thank 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 eXperience

    That 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
    #551162

    Hi.. 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 there

    I 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

Viewing 4 posts - 1 through 4 (of 4 total)

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