Home › Forums › Legacy Support › Support queries › Styling issues › graph styling in instructor widget
- This topic has 11 replies, 2 voices, and was last updated 5 years, 5 months ago by logan.
Viewing 12 posts - 1 through 12 (of 12 total)
-
AuthorPosts
-
November 12, 2018 at 8:11 pm #184140MeesterGijsSpectatorHow can I change the color of the graph? Not just the dots and the lines, also the complete areas? screenshotNovember 13, 2018 at 8:11 am #184179loganMemberhi, paste this code in your custom css. div#vibe-tabs-student-graphs div#tab-quizes circle {fill: #501088 !important;} div#vibe-tabs-student-graphs div#tab-quizes path[fill="#5bc875"]{ fill: #ff0000 !important;} refer: http://prntscr.com/lhpdgc happy coding :)November 13, 2018 at 12:54 pm #184233MeesterGijsSpectatorUnfortunately, the code didn't work. Only the dots changed colour. Could you have a look in my custom css?November 14, 2018 at 10:58 am #184400loganMemberhey, i have pasted this code in your custom css : refer: http://prntscr.com/li7jp8
and effects could be seen here: http://prntscr.com/li7kdb please check the changes and lemme know it is working or not.div#vibe-tabs-student-graphs div#tab-quizes circle {fill: #501088 !important;} div#vibe-tabs-student-graphs path[stroke="#27c24c"]{ fill: #ff0000 !important;}
November 14, 2018 at 12:45 pm #184429MeesterGijsSpectatorI did see the changed colors now. But when I change those numbers to my colors it goes back to normal. So weird. Underneath is what I want. Could you put it in custom css please? /* PROFIELPAGINA voortgangsgrafiek */ div#vibe-tabs-student-graphs div#tab-quizes circle {fill: #3f3f3f !important;} div#vibe-tabs-student-graphs path[stroke="#3f3f3f"]{ fill: #88deb4 !important;}November 14, 2018 at 1:15 pm #184437loganMemberHey #meestergijs, haha, i got the problem. please refer: http://prntscr.com/li9eto don't change this attribute. this is a class that selects only that particular path to fill the color. div#vibe-tabs-student-graphs div#tab-quizes circle {fill: #3f3f3f !important;} div#vibe-tabs-student-graphs path[stroke="#27c24c"]{ fill: #88deb4 !important;} i am pasting this css in your customizer. hope this time it will do according to your desires. Refer: http://prntscr.com/li9j07 kind regards. :)November 14, 2018 at 1:23 pm #184446MeesterGijsSpectatorAlmost, my dear friend. The line between the dots should also be #3f3f3f. Thank you :DNovember 15, 2018 at 7:26 am #184552loganMemberHey, Please goto wp-admin > appearance > customize > custom css > paste this code in the editor. div#vibe-tabs-student-graphs path {stroke: #3f3f3f !important;} Refer:http://prntscr.com/likv36 Happy coding.November 15, 2018 at 8:48 am #184562MeesterGijsSpectatorI'm sorry, Logan. But it just doesn't work. After giving it a few tries I even get a database connection error. That happened everythim when I tried to work with this graphs path. Weird. What would be the complete code? Because Sometimes I see [stroke="#27c24c"] than it's [stroke=#27c24c !important] so without " and ". Than it's between {} other times between []. I just don't understand. Let's say I want the line, the dots and the filling to be #88deb4. What is the complete code?November 15, 2018 at 9:11 am #184565loganMemberyou just need to add these codes at the bottom off custom css.div#vibe-tabs-student-graphs path {stroke: #3f3f3f !important;}
this thing does not have any []. it doesn't manipulate others codes. and lemme tell you one thing,[] this thing is used to select a particular class to add css i have told you already in previous replies.
**note: css is used for styling the html. it does not have any connection with database. if your'e having any issue of the database that must be coming from somewhere else. just paste these codes in your custom css. this time. div#vibe-tabs-student-graphs div#tab-quizes circle {fill: #3f3f3f !important;} div#vibe-tabs-student-graphs path[stroke="#27c24c"]{ fill: #3f3f3f !important;} div#vibe-tabs-student-graphs path {stroke: #3f3f3f !important;} Refer:http://prntscr.com/lim5n9November 15, 2018 at 3:08 pm #184663MeesterGijsSpectatorYes, it finally worked. Thank you. By using that bigger font it feels as if you are shouting at me. I hope not. I don't want to trigger a nerve. I just want to work hard, learn everything I can from you geniuses and keep pushing the envelope. So thanks again. We can finally close this topic, or better yet: chapter :)November 16, 2018 at 4:47 am #184714loganMemberHey MeesterGijs, hahah buddy you are truly amazing trust me. i was not shouting actually. my intention was to seek your attention behind bigger fonts because you missed the point earlier. you are the reason i love my work. you do great with codes. keep learning, keep coding :) Kind regards my friend. -
AuthorPosts
Viewing 12 posts - 1 through 12 (of 12 total)
- The topic ‘graph styling in instructor widget’ is closed to new replies.