Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5961789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:00:54+00:00 2026-05-22T19:00:54+00:00

I have an article ‘tag’ sidebar which is positioned correctly on the Home page,

  • 0

I have an article ‘tag’ sidebar which is positioned correctly on the Home page, but creeps up on all my other pages. Am using the Kaminari paginate plug-in. Its driving me nuts – how can I stop this from happening?

css

.sidebar {
position:absolute;
width: 150px;
float:right;
padding: 0px 0px 0px 20px;
margin: -1500px 0px 0px 700px;
}   

_side.html.erb

 <div id="art">
 <%= link_to 'Post An Article', new_article_path %>
</div>

<div id="iphone">
<%= image_tag "iPhone.png" %>
</div>
<br />

<div id="soc-med">
<%= link_to image_tag("facebook.png"), "http://www.facebook.com/" %>
<%= link_to image_tag ("twitter.png"), "http://twitter.com/#!/" %>
</div>


<div id="tag_title">  
<h3>Article Tags</h3>
</div>

<div id= "tags" >
<% cache('all_tags') do %>   
<% for tag in Tag.find(:all, :order => 'name') %>


<ul style="list-style-type: none">
 <li>
<%= link_to "#{tag.name}", tag_path(tag) %>
</li>
</ul>

<% end %>
</div>
<% end %>
</div>

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T19:00:55+00:00Added an answer on May 22, 2026 at 7:00 pm

    Setting the ‘top:130px;’ attribute solved the issue:

    .sidebar {
    font-family:Arial, Helvetica, sans-serif;
    position:absolute;
    width: 150px;
    float:right;
    top: 130px;
    padding: 0px 0px 0px 20px;
    margin: 0px 0px 0px 700px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an article controller, which manages all article relations like authors, translations, related
Say that I have an article with multiple pages. Each page has a short
I have read this article from High Scalability about Stack Overflow and other large
I have an article in which I use PHP code inside the text editor
I have an article system which is used by several users. Articles have their
I have found article that skims over this. But my main question is do
I have an article already written about a subject, but I want to include
If I have an article with all the og: meta tags, how do I
I use Doctrine2 as ORM in a Symfony2 project. I have article and tag
I have news-article content which is being indexes using Lucene and interrogated using Zend_Lucene

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.