Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: ad vertical banner to an extra right column  (Read 4006 times)

0 Members and 1 Guest are viewing this topic.

nikitaspaloj

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
ad vertical banner to an extra right column
« on: October 05, 2007, 03:42:30 pm »

http://www.uploadyourart.com/zografiki/index.php

what i want to do is to be able to put a vertical banner to the right side ,more right than the right menu .I attach an image that shows what i want exactly
I think as a good solution to put the contents inside tables so i will be able to do so,but i tries editing template.html and the resault was terrible.
 :-*
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: ad vertical banner to an extra right column
« Reply #1 on: October 05, 2007, 11:32:29 pm »

The theme that you use is not using tables to create the columns, but div containers, using CSS as a "glue" to create the three-column layout. What may appear to you as a fourth columns (the space to the right of you site's content) is actually the right margin. Therefore, you can not simply add a table somewhere, but you need to look into the CSS that defines the three-column layout and add a fourth column, using exactly the same technique that the theme designer (Gizmo afaik) used to create the orginal columns. A fourth column is not a wise idea though: instead, I suggest replacing the links and galleryroll section and add you banner there instead. In fact, the links and galleryroll section is just meant as sample content that the theme designer displays to give you an idea what you could do with that space. In your template.html, find
Code: [Select]
<div id="sidebar">
<h4>menu</h4>
<div class="navigate">
   <ul>
    {ADMIN_MENU}

    {SUB_MENU}
  </ul>
</div>

<h4>links</h4>
<div class="navigate">
  <ul>
  <li><a href="http://forum.coppermine-gallery.net/" title="Coppermine Support Forum">Coppermine Support Forum</a></li>
  <li><a href="http://www.mozilla.com/firefox/" title="Get Firefox">Get Firefox</a></li>
  <li><a href="http://chrispederick.com/work/webdeveloper/" title="Web Developer Extension">Web Developer Extension</a></li>
  </ul>
</div>

<h4>galleryroll</h4>
<div class="navigate">
  <ul>
  <li><a href="http://www.billygbullock.com/" title="Gizmo">Gizmo</a></li>
  <li><a href="http://gaugau.de/" title="GauGau">GauGau</a></li>
  <li><a href="http://stramm.st.funpic.org/" title="ModPack!">Stramm</a></li>
  <li><a href="http://www.ic-gallery.com/" title="Nibbler">Nibbler</a></li>
  </ul>
</div>


</div> <!-- end sidebar -->
and replace with
Code: [Select]
<div id="sidebar">
                  <!-- your banner here -->
</div> <!-- end sidebar -->
Logged

nikitaspaloj

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: ad vertical banner to an extra right column
« Reply #2 on: October 08, 2007, 02:31:40 pm »

Who can help doing that.I attache the css file.I want the extra right column.Third or fourth whatever.But i can not catch the code in the css file.Help please
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.