• Resolved Greatmonkey1

    (@greatmonkey1)


    Hi,

    I’ve downloaded your lite version earlier today and have been playing around with it a bit. Now evertything went well until i tried using the css tab on a shortcode. when I used inline styling in the template tab, things did work (on my previous little tests) the external css feature doesn’t.

    my codes:

    Template
    <div class=”2-columns”>{{content}}</div>

    CSS
    .2-columns{
    position:relative;
    float:left;
    width:370px;
    margin-right:45px;
    clear:left;
    }

    Now this doesn’t only not work on the shortcode’s css tab, as I’ve tried to add the line of CSS directly into my stylesheet too, but it just won’t take effect on this div. (do note that all the other css in there works perfectly)

    The weird thing to me is that it’s such a simple little thing I’m trying here, and I can’t really believe that I would be doing anything wrong with that simple a thing.

    Note that the css is not yet finished, this is just the first part of my attempt.

    Thank you very much in advance for helping me! I really love how the plugin works and how it is to be used, so I hope I’ll be able to use it a lot and then perhaps go for the pro license whenever I see fit.

    http://wordpress.org/extend/plugins/my-shortcodes/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Greatmonkey1

    (@greatmonkey1)

    Oh, where i might have needed to be a little more in detail is that when I inspect my code, the class and div around my content do get added properly, it’s just the link between the class and it’s css that doesn’t seem to function.

    Plugin Author David Cramer

    (@desertsnowman)

    Dou you have a URL where I can see an example?

    Thread Starter Greatmonkey1

    (@greatmonkey1)

    Since I currently have this website running behind an under construction plugin, I could give you access to viewing it by creating you an account to log on to, but I wouldn’t quite like to post that in a public place like this one, is there any way I can send you that login information more privately?

    Plugin Author David Cramer

    (@desertsnowman)

    you can email me on david@digilab.co.za
    will help out where i can.

    Plugin Author David Cramer

    (@desertsnowman)

    I took a look and after a long session of pulling my hair out, I realized that you can’t start a classname with an intiger.
    so change it to .two-columns rather than .2-columns and presto.

    Thread Starter Greatmonkey1

    (@greatmonkey1)

    Worked like a charm,

    I had never realized that classnames couldn’t start with an integer.

    Thank you so much for your amazing support there, I love the plugin and am definately recommending it to other wordpress users!

    Kevin

    Plugin Author David Cramer

    (@desertsnowman)

    I’m very happy I could be of assistance and glad that you find the plugin useful.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: My Shortcodes] Some CSS trouble’ is closed to new replies.