FAQ Database Discussion Community


float bootstrap dropdown list above content and right side of the sidebar main menu

css,twitter-bootstrap,twitter-bootstrap-3,sidebar
I can't figure out how to move the dropdown list so that it gets positioned on the right side of my main menus. Please see this screenshot that I want to achieve. http://i.imgur.com/nlAJgaC.png Here is the code <div id="sidebar-left" class="col-xs-2 col-sm-2 hidden-lg"> <ul class="nav main-menu"> <li> <a href="#" class="align-center"> <i...

How to Create a Sidebar with Multiple Controller Methods?

ruby-on-rails,ruby,methods,controller,sidebar
I have multiple controllers that I want to pull some of their methods into my sidebar: habits_controller goals_controller valuations_controller quantifieds_controller users_controller How can I do this without getting an undefined method error? I tried creating a sidebar_controller, but what should I include in their to make it work? Let's focus...

Can't open folder that was dragged and dropped to sidebar in sublime text3

windows,sublimetext3,sidebar
I recently downloaded sublime text3. To get started I dragged and dropped a folder that contained a website to the sidebar. Now I can't open the folder to get to the files. I can't drag the folder back to the desktop either. The only thing I can do is drag...

What do different icons and symbols in Android Studio's Structure sidebar mean?

android,android-studio,structure,legend,sidebar
When I click on 'Structure' sidebar in Android Studio, it displays the contents of the current class. However there are certain icons & symbols used to indicate different members, e.g., a circle with letter m for methods, etc. Where do I get the complete list and the details for all...

how to make WordPress sidebar with upload images ability

wordpress,image,sidebar
I need to make part of my WordPress sidebar with ability of uploading images, something like this: http://prntscr.com/69h2fp I need to could upload and give the link to images from admin panel without limitation, my mean is i need to be able to upload images in there as i need...

How to customize the left side-bar in Magento 1.9 category view

magento,sidebar
I am trying to customize my left side-bar in Magento when the frontend shows a certain category. For example I want to remove the Newsletter box and a custom block which was added by the theme developer. However I am not able to find the correct file to edit in...

How to stop NoMethodError when clicking #new & #edit?

ruby-on-rails,ruby,model-view-controller,sidebar,nomethoderror
I'm having a hard time figuring out how to incorporate multiple controller's logic into a sidebar. For example, I want to have a section in the sidebar that uses @habits logic from the habits_controller and a section that uses @unaccomplished_goals logic from the goals_controller. For this question let's just focus...

Sidebar which can scroll but with the main content fixed

html,css,sidebar
I am attempting to create a sidebar which can scroll, but the main content on the right is fixed (no scroll). But when I try to work around it does not work, so here is an example HTML <div id="container"> <div id="outer-wrapper" class="is-open"> <div id="inner-wrapper"> </div> <div id="sidebar"> </div> </div>...

ios SWRevealViewController reveal push segue animation

ios,animation,sidebar,pushviewcontroller,swrevealviewcontroller
I'm using SWRevealViewController(the updated version) to make a slide-out sidebar menu app, connecting different rear view controllers (based on different sidebar cell tapped) by SWRevealViewControllerSeguePushController class segue. every time I tap a cell which is different from the current one the sidebar becomes fully reveal then the new rear view...

Need a sidebar with columns in wordpress [closed]

php,wordpress,sidebar
This is my page where I want changes. Please click here In this page, in the side bar, instead of one column, I need two columns. I have tried everything as per my knowledge but they are coming in a vertical fashion, one below the other. Where do I need...

Trouble: 'PrincipalViewController' does not have a member named 'revealViewController' in swift

swift,sidebar,menubar
I am working on a creating a sidebar menu using SWRevealViewController in Swift. Trouble is I get the following error: 'PrincipalViewController' does not have a member named 'revealViewController' The code I am working on is: class PrincipalViewController: UIViewController { @IBOutlet weak var menuButton:UIBarButtonItem! override func viewDidLoad() { super.viewDidLoad() // This...

Why is Sidebar Showing at Bottom of Pages?

css,ruby-on-rails,twitter-bootstrap,layout,sidebar
How can I get the sidebar to show on right side of the page using twitter bootstrap. The header is properly placed. What do you think the problem is, besides my incompetence? Thanks for your help! application.html.erb <!DOCTYPE html> <html> <head> <title>Personal Control Center</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track'...

centering images within a sidebar

html,css,sidebar
trying to do best practices here and I'm new to coding. I have two images in a right sidebar. Sidebar looks good (colored it red so I could see what's up) but I can't get the two images centered in a column. What's wrong with my css? html: <div class="right_bar">...

sidebar not showing in the right place until the loading of the site finish

javascript,css,wordpress,sidebar
i am a beginner in javascript, and in wordpress. i have the template Detube, which i want to modify. i have to make the sidebar semi fixed and the scroll infinite. those modification are made but it doesn't work in the way that i want. The sidebar, appears on the...

Make sidebar positioning fixed

jquery,html,css,sidebar
I'm using a customized version of a sidebar, with disabled responsiveness. A customized version of it can be found on this jsfiddle (Please see the full fiddle for the rest of the code). #sidebar-wrapper { box-shadow: 0 5px 15px 1px rgba(0, 0, 0, 0.6), 0 0 50px 1px rgba(255, 255,...

How to set 100% height on a sidebar div?

html,css,position,height,sidebar
I'm trying to figure out a way to display a sidebar inside a div so it will take 100% of the available height. The code is available here. HTML - http://pastebin.com/4nBe2KQS CSS - http://pastebin.com/r63bREbb I have already tried a lot of answers I found like removing the block elements, setting...

How to make sidebar horizontal for xs devices

html,css,twitter-bootstrap,navigation,sidebar
I'm using the default CSS that came with bootstrap; also using the bootstrap theme and dashboard CSS. By default, when on xs devices, the sidebar disappears. Well, this is what i'm using for all my application's main navigation. So, I'd like for it to switch to a horizontal layout on...

Positioning sidebar widgets nicely under each other

html,css,layout,sidebar,two-columns
We have a problem with a content-sidebar layout which breaks down to the following. We have four divs, A, B, C and D. A and C have text and images - content - and should be placed on the left. B and D are lists of links, search forms, etc....

How to .count nested_attribute boolean?

ruby-on-rails,ruby,boolean,nested-attributes,sidebar
The nested attribute of quantifieds are results. In the results partial a User will checkoff if their quantified result is a :good thing or not. In the sidebar I want to .count how many good results the User has marked off to serve as a reference point of their success....

How to use xamarin sidebar with storyboard

monotouch,xamarin,sidebar
I'm trying to create a application with sidebar drawer navigation, but the controls is hard coded in your controller like what I see in the example, What I want is my sidebar menu and content will be designed in storyboard, the problem is I really don't know where to start....

Disable responsiveness for Sidebar template

jquery,html,css,sidebar
I'm using this sidebar with some customized CSS for my page (http://ironsummitmedia.github.io/startbootstrap-simple-sidebar/) I want it to disable responsiveness, but I do not see how to do it. This is my custom CSS for it, maybe I'm overseeing something? It's probably something with this, but maybe not #sidebar-wrapper { box-shadow: 0...

How to List Tags :committed for Today?

ruby-on-rails,ruby,tags,sidebar,acts-as-taggable-on
<% tag_cloud Habit.tag_counts, %w{m} do |tag, css_class| %> <%= link_to tag.name, taghabits_path(tag.name), class: css_class %> <% end %> The above code lists out all the tags for habits. But how can we get it to list out only the tags that are with habits :committed for today? In the habits...

Sidebar going outside of wrap? [closed]

css,text,css-float,wrap,sidebar
This is the code, you can see what is wrong easily. #wrap { text-align: center; height: auto; margin: 0 auto; width: 1024px; background: #CCC; } #sidebar { height: auto; width: 300px; padding: 20px; margin-top: 60px; padding-bottom: 100px; border: outset; float: right; overflow: auto; } #content { border: outset; overflow: auto;...

Creating a search in Google Sheets Sidebar

html,google-apps-script,google-spreadsheet,sidebar
I have a sheet to track about 1400 parking spaces and was wanting to add an individual search in the sidebar. I have been able to get the sidebar to show up with a custom menu click. In the sidebar I have been able to rename it, add a search...

Separating title from thumbnail on wordpress

php,css,wordpress,themes,sidebar
I'm doing a wordpress theme and I'm trying to create some margins between a thumbnail and a post title on the recent posts on my sidebar. I tried everything but it just won't work. Any tips? <?php $recent_posts = wp_get_recent_posts(); foreach( $recent_posts as $recent ){ if($recent['post_status']=="publish"){ if ( has_post_thumbnail($recent["ID"])) {...

Floated Sidebar: How to get sidebar full height of window?

css,height,equals,viewport,sidebar
I know that there will be people that may ask for the full code, but I'm just asking in a very general sense. Say, I have the main content floated to the left with no fixed height and the sidebar floated to the right. I want the sidebar to take...

HTML - Sidebar not filling 100% of screen

html,css,sidebar
I have a sidebar which is only taking up enough space for the content it contains rather than taking up 100% of the wrapper which contains all elements, the image below should get across what I mean: Here is some of the code I'm working with: HTML <body> <div id="wrapper">...

How do I make two floating divs smoothly follows each other when moving using transition?

css,transition,sidebar,smooth
I need some help with a little bit of CSS coding. What I am currently attempting to make is a sidebar that slides in (like on mobile pages) but instead of making the position absolute I have made the two divs float inside a wrapper. My explaining skills are not...