2
votes
1answer
33 views

Limit function to specific post category

I have a function that wraps images in a custom div. It's placed in functions.php and modifies all posts. I'd like to know if there's a way to only apply it to posts in a certain category. Here's ...
0
votes
3answers
146 views

All 3?: Responsive resizing of images + image width of actual image for small images + max-width for all larger images

What I'd like to achieve is to have images resize responsively – and for that I have to set 'width: 100%' – and at the same time set a maximum width to not have the image as wide as the content. To ...
0
votes
2answers
30 views

Moving an image to the side [closed]

How do I move this image on my WordPress site to the left side? I don't know which file to look for and which code to edit.
0
votes
1answer
22 views

Custom styling Insert Media window

I would like to alter the styling of the Insert Media window. I'm sure the styling is at wp-includes > css > media-views.min.css I can't alter the minified file. Does anyone know where or how ...
1
vote
0answers
31 views

t5-fresh-editor-stylesheets.php breaks image placement in WP Beta 3 editor

I am running a development site with the WordPress beta plugin, currently running 3.9 beta 3 I am using Bill Erickson's Core functionality plugin which calls Toscho's t5-fresh-editor-stylesheets.php ...
0
votes
2answers
36 views

Extending site width according to the image size

The WordPress theme is for a comic reading site. Since image cannot be re sized because the text will be distorted, I need to extend the site width according to the image size in the post. Here is ...
0
votes
1answer
46 views

Adjusting post width according to the image size

I am building a theme for a comic site. It seems some images are bigger than the post size. I need to resize the images according to the Original Image size. Can I achieve this through CSS? It doesn't ...
0
votes
0answers
106 views

All “Featured Images” not displaying after Wordpress update

After updating to the latest version of WordPress today, I noticed that all "Featured Images" on my website are no longer displaying. After trying to figure the problem out for hours, I added the ...
0
votes
1answer
38 views

An image on my site is showing as the wrong image [closed]

I have an image on my site, which is showing up as the wrong image. When I "inspect element" in chrome, and click on the link to the image, it shows up as the right image. How can this be? Here's ...
0
votes
1answer
216 views

Display alt text as tool tip on page

I'm using the Background Manager Wordpress plugin (http://wordpress.org/plugins/background-manager/) and I'm trying to display a custom element on the page that I have not been able to find any help ...
1
vote
2answers
1k views

Add CSS class to every image

I want to add a CSS class "myimg" to every image both inside and outside of a post. What is the best way to approach this?
0
votes
1answer
60 views

Any disadvandages if I style the wordpress align classes without img and .wp-caption prefix

In various WordPress themes the margins are only applied to elements when they are images or captions /* Images */ .alignleft { float: left; } .alignright { float: right; } .aligncenter { ...
3
votes
1answer
71 views

Width 100%: Aspect ratio of image

If I add an image to a post, WordPress hardcodes width and height attributes to the img tag. I added max-width:100% to my CSS, but of course, if my browser window gets smaller, the resized image ...
0
votes
1answer
81 views

Clickable image link sends people to wrong URL

On my website www.wilsonstransportation.com, on the header of our custome theme page, we have a "Get a Quote" image on the right hand side. When you click it, it is taking people to ...
-2
votes
2answers
1k views

How to Add a Website Background Image to One Page?

What is the easiest way to add a background image to a single page like tryghost.org? I am currently running under WordPress and was wondering what code I need to add and where. The image is only to ...
-1
votes
1answer
123 views

Image width issue in IE [closed]

For some reason images are being displayed as a thin line in IE 8 and earlier and i cannot work out why this could be. I'm using CSS to re-size the images for the homepage, the reason for me using CSS ...
0
votes
1answer
119 views

Is there a good way to use CMS images with CSS

I am building a responsive wordpress theme that allows for a custom banner image to be uploaded to each page. However, because of the responsive nature of the theme I need to set the images as ...
0
votes
1answer
110 views

Changing 2011 theme header image based on user dropdown

I posted earlier about changing my site's CSS based on user-choice from a drop-down and storing it in a cookie, which I think I have now resolved, and sort-of have working at the following address ...
1
vote
1answer
253 views

Can't remove Wordpress post image height/width attributes?

I know a few people have asked this question previously; however, I think something may have changed recently in the Wordpress update. I'm building my own responsive theme for my portfolio, and for ...
-2
votes
1answer
112 views

Why is inline CSS added to images automatically? [closed]

I have placed images on Wordpress page templates without any inline style attribute but it seem Wordpress automatically add style tag with width and height set to zero. <img ...
-1
votes
1answer
872 views

Theme using masonry layout script rendering overlaped images in Google Chrome [closed]

I have a WordPress theme built with Masonry script , I added a new template file for list gallery, is working ok in FF and IE but in Google Chrome gallery images (inside containers) are overlapped. ...
0
votes
1answer
667 views

CSS images don't show up with bloginfo

I'm new to WP and PHP and I'm trying to convert my 'old' HTML theme into a WP theme. I created my index.php page and linked it to the style.css. I have some images in the css and, from what I've read, ...
0
votes
2answers
280 views

How can I add inline CSS for each image?

Is there a filter or hook that I can use for uploaded media? I need to use it for custom CSS properties based on the media's description. It will be like: <img src="image_url" style="width: ...
0
votes
3answers
2k views

Image Captions Have a 10px Extra Margin, And It's Not CSS? [duplicate]

Possible Duplicate: Caption in Page adding unwanted 10px to width This is a screen capture from a post. I have given .wp-caption a black background so the extra 10px margin on the right ...
0
votes
1answer
316 views

Thumbnail Image Rounded Corners w CSS (or any other good method)

I've been researching how to display thumbnails with rounded images, but every solution ends up running out of gas. One trick I tried was wrapping the thumbnail in a division with the same size and ...
2
votes
1answer
490 views

I'm trying to add an image in my CSS

I'm trying to add an image in my CSS with the theme folder code, <?php bloginfo('template_directory'); ?>, which works in HTML but for some reason it's not working in the CSS. Does anyone know ...
1
vote
3answers
2k views

How to display post title & excerpt when mouse hovers on an image?

I am bit busy with developing one fashion website, currently (http://test-domain.zakirsajib.co.uk/), where I have images come from posts and when mouse will hover on any image, the corresponding post ...
-1
votes
3answers
945 views

Stop underlining image links

One my widget bar, I have an image which is hyperlinked. The problem is that CSS underlines it. How do I remove the underline? Update: Just noticed that this is what is causing the underline: } ...
0
votes
4answers
534 views

How to limit image size for the entire website ? But without editing the post (css/plugin?!)

I have a post here: http://www.food101.co.il/?p=5993 Where the image is overlapping the sidebar. I wish to shrink the image, but I want something that will do this without me editing the post (why? ...