Jump to content

Archived

This topic is now archived and is closed to further replies.

rmaxsg

StarBars CSS

Recommended Posts

rmaxsg

How can i change color of Starbars?  How can use custom CSS

 

CSS

.my-black-bar {

background-color: #ccc

}

 

Styling Classes in Content area

my-black-bar

 

Can someone help me. Thank you

 

:kfu:

Share this post


Link to post
Share on other sites
Danny

Hi,

Styling classes doesn't work like that, it works for the actual section and not for a specific element inside that section. If you want to change the colors of the bars, you will need to inspect them using your browsers web dev tools to find the correct classes to override.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
rmaxsg

Thank you Ninja. im currently on study of HTML and CSS.  Sorry for asking stupid question. 

Share this post


Link to post
Share on other sites
Danny

Not a stupid question at all, don't think like that, if you have a question, ask it. Thats what we are here for and actually it was a good question as this information should be added to the documentation, so thank you very much. Made a note to add this info to the docs.

FYI, if you want to study a bit more on HTML and CSS, I would recommend Code School, its pretty damn awesome, if I say so myself.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
rmaxsg

Thank you so much for recommend code school.  Have a great day ninja.

Share this post


Link to post
Share on other sites
Rob

I'm glad Danny was able to help you!


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

  • Similar Content

    • dreamsight
      By dreamsight
      my first 2 values are much lower than the third and they obscure the descriptors. How can I either indent or center descriptors so they aren't covered?
       http://bigdatamedia.co.uk/
    • j powers
      By j powers+
      I may be missing something simple but why does the starbars feature not have a color setting. For those using it how are you setting the bars colors.
       
      Thanks in advance 
    • dymond
      By dymond+
      So I'm using gravity forms to take entries on volunteers for an event. 
       
      The goal is to have 200 volunteers in total for the event. 
      I've had some requests from clients to show a counter (maybe iBox - Counter) on the webpage, showing how many entries have been submitted and maybe a StarBars style part showing how close we are to the goal... Is there a native way to do this in DMS 2?
       
      Any and all suggestions are greatly appreciated!
    • lucjaws
      By lucjaws
      Hello,
      First of all magnificent product. I am wondering how I can use the add-on section "StarBars" together with the metadata of a post.
      My posts allow thumbs up/down ratings, and it stores the number of ratings in the post's metadata. I want the starbar added to the bottom of the post to show the number of up/down votes as a percentage. 

      Any help would be greatly appreciated.
       
    • thebastion
      By thebastion
      Hi all,
       
      It may be something I am missing but been looking for a while.  I have added a starbar on a page with one bar and a main title.  However, there is a percentage marker that I don't seem able to turn off or have any control over that sits above the bar.  At the moment this sitting directly on the title of the starbar (or descriptor).
       
      I have just increased the bottom margin of the title to compensate but as far as I can tell it looks like an oversight.
       
      Stuart
×