• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Cum as putea avea asta

Started by mihai,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mihaiTopic starter

Cum as putea avea asta:


Sa fie afisata pe toate paginile si sa fie perfect vizibila rezolutiilor 1600+   (Scuze dar am sters topicul din greseala)
Va multumesc!
  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

Eu nu am reusit sa obtin sidebarul,o sa public fisierele tpl.globals,vibe.style si query si as dori sa stiu ce trebuie sa editez si cum.


  •  

mihaiTopic starter

Nu stiu cat de mult sens are ce am postat,cert este ca doresc sa imi fie explicat ce trebuie sa fac(ce trebuie sa editez si unde)
  •  

Marius P.

Quote from: mihai on
Nu stiu cat de mult sens are ce am postat,cert este ca doresc sa imi fie explicat ce trebuie sa fac(ce trebuie sa editez si unde)

Nu prea avea :)

Era mai ok daca imi aratai ce ai incercat.

Gaseste asta (linia aproximativa : 206 in notepad++):

return $nav;
}



Poti sa pui codul inainte de ea:


$nav .= '<div id="Mysidebar" class="Mysidebar">Aici vine tot continutul sidebarului</ div>';   
return $nav;
}



Pe forum smf face strip la </ div> asa ca trebuie sa pun un spatiu in plus, tu il pui normal in cod.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

Continutul sidebarului il gasesc in linkurile postate mai sus?Daca da,pun continutul html in tpl(acolo unde ai specificat)si css in  vibe.style?
  •  

Marius P.

Continutul ti-l faci tu...tot ce trerbuie e sa-i dai o clasa sau un id iar pe baza aluia sa-ti construiesti css-ul...
Ce vrei sa pui acolo in materie de continut?
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

Nu vreau sa contina nimic special,vreau doar sa fie un spatiu unde pot sa public adduri si sa fie in materie de css exact ca sidebarul pe care il am
  •  

mihaiTopic starter

  •  

Marius P.

Pai si ai "fixed" ca pozitie a div-ului in css.

http://stackoverflow.com/questions/15154790/how-to-right-align-fixed-position-div-inside-a-div


.Mysidebar {
display:block;
position:fixed;
top:50px;
right:0;
bottom:0;
width:200px;
}
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

Marimea o schimb in css?Am obtinut respectivu spatiu,e vizibil mi-l arata in inspect element dar are dimensiuni mari(1663/23) si se vede ca atare
  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

Nu se intampla nimic si am observat ca nu gaseste stilul elementului cand dau inspect element.Posibil ca codul din css sa nu fie pus cum trebuie?
  •  

Marius P.

stilul se ataseaza pe clasa sau/si id-ul pe care i l-ai dat tu div-ului.

Daca tu ai <div id="etc">
atunci declaratia stilului e #etc { ...}

daca e <div class="samd">
atunci declaratia stilului e .samd { ...}
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

Ce am introdus in tpl.globals
$nav .= '<div id="ysidebar" class="ysidebar">CONTINUT</div>';   


Ce am introdus in vib.style:
.ysidebar {
display:block;
position:fixed;
top:50px;
max-width:300px;
right:1;
bottom:0;
width:50px;
}
  •  

Marius P.

Atunci da-i un ctrl+shift+r la browser, sa-ti stearga cache-ul de la pagina.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

  •  

Marius P.

Nu gasesc .ysidebar in /tpl/brasil/css/vibe.style.css
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

  •  

mihaiTopic starter

  •  

Marius P.

Quote from: mihai on
Gata,acum a aparut

eu unul nu prea inteleg ce faci tu pe acolo. Nu vad nici un right sidebar pe site.

Ok, in #wrapper ar trebui sa-i dai un margin-right:200px; (daca 200 e valoarea sidebarului), ca sa nu se suprapuna. Dar ce vrei tu acolo implica mai multe schimbari, si-n versiunea de device (responsive.css) si in jquery...eu zic ca iei pe cineva care stie macar css sa te ajute.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Similar topics (7)