Support for Envato Buyers › Forums › OldCar › [skill] shortcode doesn’t seem to work correctly
- This topic has 8 replies, 2 voices, and was last updated 12 years, 2 months ago by
FocuxTheme Support.
-
AuthorPosts
-
-
August 10, 2013 at 9:15 pm #1906
jimbojones
MemberHi there,
I’m trying to add the [skills] shortcode into a post as used in your example, however it appears to be going wrong (formatting wise)
I’ve pasted the example using the Text mode in the post editor in WordPress.
[skills]
[skill title=”Dreamwaver” percent=”100%” hide_percent=0 text=”Instead of Percent”]
[skill title=”Photoshop” percent=”80%”]
[skill title=”illustrator” percent=”60%”]
[skill title=”HTML5″ percent=”70%”]
[skill title=”jQuery” percent=”50%”]
[/skills]I’ve attached a image grab of what happens when I try to use the shortcode
http://postimg.org/image/uw8hmffmf/
Notice the first bar is too long, each bar seems to get a bullet mark added to it.
Any ideas whats going on?
-
August 12, 2013 at 12:01 am #1909
FocuxTheme Support
KeymasterHi, sorry for the delay.
What’s the browser you used? And Can you tell me your website link, I wanna check on my computer. -
August 12, 2013 at 10:49 pm #1920
jimbojones
MemberSure I’ve tried in Chrome and IE9.
Using the oldcar 1.3 with no changes, default wordpress site install
Example page is here:
http://wordpresstest.202010.co.uk/?p=1
Notice the list style bullet points and also the percentage bars aren’t quite right. I’m guessing an issue in the css files?
-
August 13, 2013 at 12:20 am #1928
FocuxTheme Support
KeymasterHi
I see, this is a small bug of CSS, I will improve it in next version, and tell you a quick solution, put the following CSS into “OldCar options > custom code > custom css”
.skills{overflow:hidden;} -
August 13, 2013 at 12:56 am #1930
jimbojones
MemberAh excellent, Thanks Johnny. That’s fixed the bullet points showing up.
Oddly the percentages or width of the bars doesn’t look right?
I looks like the bar isn’t quite calbirated right.I’ve updated the site with the above custom.css and adding some more bars to show the issue. Notice that 10% is too big and 90% is too far over.
Sorry to be a pain, but its a lovely shortcode idea.
James.
-
August 13, 2013 at 12:58 am #1931
jimbojones
MemberIs it something to do with cell padding maybe?
-
August 13, 2013 at 4:19 pm #1943
FocuxTheme Support
KeymasterYes, it’s caused by padding
Put the following css to custom CSS.skills li span{ text-indent:10px; padding:5px 0 6px; } -
August 13, 2013 at 8:34 pm #1945
jimbojones
MemberThanks Johnny, all sorted. You rock!
-
August 13, 2013 at 10:19 pm #1948
FocuxTheme Support
KeymasterIt’s my pleasure!
-
-
AuthorPosts
- You must be logged in to reply to this topic.
