Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • dicoste Friend
    #183321

    Hi everybody,
    I think I need a little help.

    I’m working on a website which use JA University Template.

    I’ve been asked to build a linkabile background for the website. I found out how to do it, and in a local template it works, but I have a problem with the JA template, because I should insert a line of code inside the “body” tag of the index.php page of the template.
    Little problem: JA template don’t have index.php page. Well, they have it, but it’s quite different from ones of other templates, I think you understand what I mean…

    Could please help me to solve this problem? Where I could find something similar to index.php page of other tempatles?

    Thanks in advance.

    pavit Moderator
    #477106

    Hi

    You can make your changes on this file pluginssystemjat3jat3base-themesdefaultpagedefault.php in the <body></body> tags

    dicoste Friend
    #478552

    Hi pavit,
    thanks for your answer and sorry for my late reply, but only today I worked on that project.

    I would like to make the background clickable, with a link, because of that I needed to change the file.

    What surprised me is that in the file you told me there is already some code similar to the one I would like to insert and when I put my own code, it doesn’t work at all.

    The code I have to insert in Body tag is:
    <a href=”http://www.google.com” target=”_blank” class=”background-link”><span>Google.com</span></a>
    just after the beginning of tag body.

    But in the file there already is a code similar to that and is this:
    <a name=”Top” id=”Top”></a>

    With other templates my code worked, maybe here I’m doing something wrong.
    I try also to do it like this:
    <a name=”Top” id=”Top” href=”http://www.google.com” target=”_blank” class=”background-link”><span>Google.com</span></a>
    but it doesn’t work either.

    Can you help me out with this thing?

    Thank you very much

    Stork11 Friend
    #478647

    Hi dicoste,

    You should put your code after “<a name=”Top” id=”Top”></a>”. It should be:

    <a name=”Top” id=”Top”></a>
    <a href=”http://www.google.com” target=”_blank” class=”background-link”><span>Google.com</span></a>

    Regards.

    dicoste Friend
    #478709

    Hi Stork11,
    I’m sorry, but it doesn’t work.
    There is some code to put also in the css file. Is it possibile I right it in the wrong css file?
    The code is this:

    body
    {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    }

    .background-link{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 900px;
    z-index: 1px;
    background-image:url(****.jpg)
    }
    .background-link span {
    display: none;
    }

    I put it in the file template.css I find in the folder templates/ja_university/css.

    Is that right? Otherwise, may you tell me which is the right css file?

    Thank you

    Stork11 Friend
    #478900

    Hi dicoste,

    You placed styles in right CSS file. But you need to clean JAT3 cache and browser cache before refreshing the front-end to see the changes.

    Regards

    dicoste Friend
    #479301

    I did that, but it still doesn’t work…

    Any other possible idea?

    Thank you

    Stork11 Friend
    #479344

    Hello dicoste,

    Can you PM me with your site information (your site URL, your site admin account) and your FTP account? So I can diagnose this problem.

    BTW, please include this forum thread URL in your PM, so I can follow it.

    Regards.

    dicoste Friend
    #480021

    Hi,
    the website is not online…

    If you tell me what to check I’ll follow your instructions!

    Thank you

    Stork11 Friend
    #480101

    Sorry, I need your site information to check in code. Because I don’t know what code you changed in your files.

    Hope you understand.

    Regards.

    dicoste Friend
    #481555

    I understand, but I just insert this in file “template.css” in the folder templates/ja_university/css (after ‘body’ and ‘body#bd’:

    .background-link{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 900px;
    z-index: 1px;
    background-image:url(../../../images/***.jpg)
    }
    .background-link span {
    display: none;
    }

    and then this in file “deault.php” in directory you told me:

    <a name=”Top” id=”Top”></a>
    <a href=”http://www.google.com” target=”_blank” class=”background-link”><span>Google.com</span></a>

    I did nothing else…

    thank you

    phong nam Friend
    #481607

    Hi dicoste,

    I’m not sure what you want to ask ? Please make me more clearly!
    And in advance, send me your URL, both admin/ftp accounts of your site, so i can check it for you without any messages.

    Regards,

    Leo

    dicoste Friend
    #481824

    Hi Leo,
    I need to understand how I can insert a background with link in this template. I just want the who comes on my website, can click on the background of the website and go to a sponsored link.

    I did only the two modifications I wrote before in template files and with other template it worked, but with this no.

    I can’t give you URL and other stuff because the site is not online.

    If you have some other indication on how build a background with link, please tell me, I’m here to learn.

    Thank you

    phong nam Friend
    #481994

    Hi dicoste,

    As you know that each block in template has its own background. It means that you have to define which block you want to change background with image. Then call the right class in default.php

    Regards,

    Leo

    dicoste Friend
    #482207

    That’s is what I thought I did…
    I would like to change the background of the entire website, the “general” background, if I may call it like that.

    May you help me find the solution of this problem?

    Thanks

Viewing 15 posts - 1 through 15 (of 16 total)

This topic contains 16 replies, has 4 voices, and was last updated by  phong nam 11 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum