Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • fturkmen Friend
    #196999

    how can i add backgroud image like this site?

    alexsmirnov Friend
    #532076

    Hi,

    The easiest way to add a background image would be via a corresponding CSS rule:

    body
    {
    background-image:url(‘paper.gif’);
    background-color:#cccccc;
    }

    Hope this helps,

    Regards,

    Alex

    fturkmen Friend
    #532219

    <em>@alexsmirnov 423223 wrote:</em><blockquote>Hi,

    The easiest way to add a background image would be via a corresponding CSS rule:

    body
    {
    background-image:url(‘paper.gif’);
    background-color:#cccccc;
    }

    Hope this helps,

    Regards,

    Alex</blockquote>

    will i add this code to custom.css?

    body
    {
    background-image:url('/public_html/images/resimler/background.jpg');
    background-color:#cccccc;
    }

    alexsmirnov Friend
    #532221

    Yes, please play with adding this code into custom.css file indeed.

    Regards,

    Alex

    PS Sending PM without being asked to is spamming. Please don’t send personal messages if nobody asked you to do.

    fturkmen Friend
    #532225

    <em>@alexsmirnov 423422 wrote:</em><blockquote>Yes, please play with adding this code into custom.css file indeed.

    Regards,

    Alex

    PS Sending PM without being asked to is spamming. Please don’t send personal messages if nobody asked you to do.</blockquote>

    i add but it changes only background color. is path (url(‘/public_html/images/resimler/background.jpg’) can be wrong?

    ps. i send you pm because you answered my post, i want to continue with you.

    Ninja Lead Moderator
    #532251

    @fturkmen: Please can try to do with my workaround below

    + Create templates/ja_magz/css/custom.css file and add new rule


    body {
    background-image: url('http://www.tgf.gov.tr/wp-content/uploads/2013/05/guresbackground.jpg') !important;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.tgf.gov.tr//wp-content/uploads/2013/05/guresbackground.jpg',sizingMethod='scale')!important;
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.tgf.gov.tr//wp-content/uploads/2013/05/guresbackground.jpg',sizingMethod='scale')"!important;
    }

    .container {
    background: #fff;
    }

    and change my mark with your background image. Let me know if it helps

    fturkmen Friend
    #532253

    @ninja Lead

    when i make your change it looks like this.


    1. before
    2. after
    Ninja Lead Moderator
    #532399

    @fturkmen: Please pm me URL of your site, I will help you to debug it directly on your site.

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

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

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