Ranking Module Bars

0
Hi,
I am using the Default with Bars Layout in the Ranking module.
The bars are coming up on a new row under the Title/Hits.
How do I get the bars to be on the same row as the Title/Hits like the demo here on your site?
Plus, Is there a way of hiding the Hits?
Thanks!
Responses (8)
  • Accepted Answer

    Thursday, October 23 2014, 10:26 AM - #Permalink
    0
    well, you can adjust that with CSS like we did. we added a fixed width to the elements so it will appear all in one row. do you know CSS?
    otherwise if you send me a link I'll check it out.
    to hide the hits you would need to modify the PHP layout file.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 23 2014, 01:37 PM - #Permalink
    0
    Hi,
    I am slightly disappointed.
    This particular layout was a major reason for me buying your product.
    Can you make this a normal option in the module and update it?
    Otherwise, please post the CSS for the fixed width and I will try it out.

    Thanks!
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 23 2014, 02:14 PM - #Permalink
    0
    basically these are the CSS classes we used:

    span.item_name {
    display: inline-block;
    width: 120px;
    }

    div.bar_space {
    display: inline-block;
    }


    let me know if that helps.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 23 2014, 03:03 PM - #Permalink
    0
    Which CSS file am I pasting this into?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 23 2014, 03:44 PM - #Permalink
    0
    you can add this directly to your main CSS file (from your template) or you can do it in the file:

    /modules/mod_content_statistics/tmpl/statistics.css
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 23 2014, 04:07 PM - #Permalink
    0
    I tried this in css for the module and template (style.css) but the default with bars is still taking up two lines.
    Right now I have:
    Layout - Default with bars
    Num of vertical divisions for 'Default with bars' layout - 10
    Is there something I am missing in the module settings?
    • Germinal Camps
      more than a month ago
      I don't know.. if I could take a look at the page I would be able to tell you what's missing in 10 seconds...
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 24 2014, 11:33 AM - #Permalink
    0
    My site is offline.
    I can email the URL and login if you give me an address.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 24 2014, 12:40 PM - #Permalink
    0
    Did you get my email?
    The reply is currently minimized Show
Your Reply