test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • richnyc30 Friend
    #196228

    I’d like to have an image file (backgroundimage.png) appear on all pages and places.
    I see other templates in forum queries but none for Argo template.

    Ninja Lead Moderator
    #528450

    Changes suggested below will help you touch the background for all pages

    Open templates/ja_argo/less/core.less file and change with my mark

    Change


    body {
    background-color: @BodyBackground;
    color: @textColor;
    font-family: @BaseFontFamily;
    font-size: @BaseFontSize;
    line-height: @BaseLineHeight;
    margin: @navbarHeight 0 0;
    }

    To


    body {
    background-image:url("backgroundimage.png");
    color: @textColor;
    font-family: @BaseFontFamily;
    font-size: @BaseFontSize;
    line-height: @BaseLineHeight;
    margin: @navbarHeight 0 0;
    }

    richnyc30 Friend
    #528520

    Tried this:
    background-image:url(/images/Background/star-bckground.png”);
    The background went to white with no background image. I am using the Dark variant of the template and the background should be at least black.
    The image will appear using http://www.variableangles.com/images/Background/star-bckground.png on the browser.

    Ninja Lead Moderator
    #528736

    With the Dark variant of the template, you can try workaround below:

    Open the templates/ja_argo/css/custom.css file and add declaration below:

    body {
    background-image: url(/images/Background/star-bckground.png);
    }

    If you still need help on this, you can PM me admin login of your site, I will help you out.

    richnyc30 Friend
    #528803

    The trick is the dark template.css.
    Editing file “/css/themes/dark/template.css” in template “ja_argo”.
    I put the below code at the end of hte template.css and it works.
    body {
    background-image: url(/images/Background/star-bckground.png);
    }

    Thanks,
    Richard

    richnyc30 Friend
    #528804

    Maybe I was wrong. I deleted the code in custom and the background disappeared. Maybe the cache needed catching up.

    Ninja Lead Moderator
    #528944

    Awesome! I’m glad you find the way out. I see it’s working fine with the background defined in the custom.css file.

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

This topic contains 7 replies, has 2 voices, and was last updated by  Ninja Lead 10 years, 8 months ago.

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