Title: theme .Css conditional function?
Last modified: August 22, 2016

---

# theme .Css conditional function?

 *  [RXRO](https://wordpress.org/support/users/rxro/)
 * (@rxro)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-css-conditional-function/)
 * i have problem in my wp-website , theme (pure)
 * the problem with theme pure is .. it takes every image .. increase its width 
   to the span’s width ( span 8 = 90% ) which is great with normal pictures but 
   some of my posts have smiley faces and rating stars .. resized to the max in 
   very bad way
 * i kept tweaking around and i found that
 * in theme.css
 *     ```
       .fw .contentarea .span8 img {
   
       width: 100%;
       height: auto;
       }
       ```
   
 * when i change the 100% to 15% .. the smiley faces became normal but also the 
   featured images inside the post.
 * i would like to make a conditional statement inside the css to ask it to ignore
   resizeing images if its smaller than 100px
 * second part of the problem is .. pure theme have tons of great features but its
   a full width theme .. there is no side bars …
 * i want to create a sidebar on it so i can add login detail,feeds-scroll & some
   ads for my website.
 * my website is nut-job.co .. i have installed a nice chat system on it so u guys
   can came and chat with me and tell me what to do/try live … if i am online.

The topic ‘theme .Css conditional function?’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 0 replies
 * 1 participant
 * Last reply from: [RXRO](https://wordpress.org/support/users/rxro/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/theme-css-conditional-function/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
