• I want to be able to display my post images two by two, with captions under them. So I′m using some jquery in my template to add “grid_12 alpha” to every even image parent – (that is the div with id=”attachment-something” that wordpress wraps my images and captions in – and “grid_12 omega” to every odd parent.

    BUT, these styles get overridden by element.style which stops my magic from happening. I know element.style is not in the css but in the code, but I cant find where – and I′m guessing it must be generated by wordpress itself. So how can I override it? It keeps setting the divs width which I should be doing with my grid classes!

    ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • can you post a link to an example post?

    you might be able to overwrite some of the styles with using !important with your grid classes

    loveglass

    (@loveglass)

    Hi wonder if anyone can help!
    I am using WP e-Commerce 3.8.7.6.2 bug fix release January 25, 2012 and here https://www.love-glass.co.uk/?page_id=10 I would like to change the size of image from 45px to 129px square. In the firebug is telling me to change the element.style., which I think? has to be change in my wpsc-category_widget.php??? I had a little fiddle with it but still no luck. Any hints what to do?
    Thank you in advance,
    LoveGlass

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘element.style driving me crazy’ is closed to new replies.