Jump to content

Cum Modific Dimensiunea La Background?


Tudi93
Go to solution Solved by Kennzo,

Recommended Posts

Salut am si eu o problema cu tema Carbon Blue nu stiu de unde pot scoate ca background-ul sa se opreasca la jumate, am crezut ca e background-ul prea mic dar lafel e cu toate indiferent de rezolutie.

 

1. Am incercat sa scot din ipb_styles "repeat-x 50% 0" dar cand am facut asta background-ul la jumatea unde se intrerupea incepea din nou ca si cum as fi pus doua link-uri de imagine una sub alta.

body {
    background: #191919 url("{style_images_url}/background.jpg") repeat-x 50% 0;
    color: #bcbcbc;
    font: normal 11px tahoma, helvetica, arial, sans-serif;
    position: relative;
    padding-bottom: 20px;
}

2. Vreau sa stiu cum pot adauga un banner mare dedesuptul celui mic am vazut pe mai multe forum-uri dar nu stiu exact cum trebuie sa procedez.

 

PS: Folosesc IP.Board 3.4.6

Link to comment
Share on other sites

ACP -> Look & Feel / Style & Templates -> alege tema Carbon Blue -> globalTemplate -> defaultheader -> apesi pe butonul Revert.

AdminCP -> Look & Feel -> Tema ta -> CSS -> ipb_Styles.css .

Cauta expresia:

branding

si zi ce ai gasit pe acolo.

Link to comment
Share on other sites

Da despre acela era vorba dar am rezolvat cu el doar am modificat in ipb_styles
 
Din

        background: #191919 url("{style_images_url}/background.jpg") repeat-x 50% 0;

In

        background: #191919 url("{style_images_url}/background.png");        
        background-repeat:no-repeat;
        background-position:center;
        background-attachment:fixed;

A doua problema ramane daca pot adauga un banner mare sub cel mic si tot o data fara ca bara cu meniuri Portal,Forum,Download ... sa se deformeze.

Am incercat sa pun un banner mare in locul celui mic doar ca bara cu meniuri si-a mutat pozitia sub banner.

Link to comment
Share on other sites

  • Solution

Codu de care aveai nevoie era ..

#branding {
        background: #0e0e0e url("link cu imaginea dorita sub banner");
    height: 114px;
    position: relative;
}

.. Deisgur trebuia sa schimbi weight deoarece acele `bari` cum le numesti tu se suprapuneau .. si nu dadea tocmai bine.. si trebuia sa adaugi background pentru banner sub banner :D:) Deci s-a rezolvat :) :)

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.