Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Excerpts, Read more, Pagination »

[SOLVED] How can I style the image retrieved with the_content() tag?


  #1  
Old Oct 19, 2009, 09:27 AM
reradu
 
14 posts · Sep 2009
Does anyone know where can I style the image retrieved using the_content() tag?
  #2  
Old Oct 19, 2009, 09:36 AM
juggledad's Avatar
juggledad
 
23,648 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Well not knowing how you are using it, I would suggest that you use it where ever, then look at teh generated page source and find out what it creates then use that to build your CSS selector and rule to customize it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 19, 2009, 10:54 AM
reradu
 
14 posts · Sep 2009
<img class="alignright size-medium wp-image-127" ... >

This is what the source code is showing where the image is displayed using the_content().
I have little to zero knowledge on CSS and even trying to read a bit of documentation didn't help.

I tried to put:

img#wp-image-127
{
border: solid 1px #dddddd;
background-color: #f3f3f3;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

in HTML/CSS inserts, but since it's not working, I reckon it's stupid. Stuck again.
btw: the site: www.cashewcenter.com
I am talking about the image that appears on the right side of "Welcome to", which on the full About page is bordered.
  #4  
Old Oct 19, 2009, 11:12 AM
juggledad's Avatar
juggledad
 
23,648 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
a class= uses a '.' while an id= uses the '#' so try 'img.wp-image-127'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Oct 19, 2009, 11:19 AM
reradu
 
14 posts · Sep 2009
It works! Thanks alot!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Read more tag cliffbird Excerpts, Read more, Pagination 11 Feb 4, 2011 03:34 AM
[SOLVED] Style one image differently to others chair Atahualpa 3 Wordpress theme 2 Jul 27, 2009 02:19 AM
[SOLVED] Problem with viewing by tag and Shashin image plugin funkymuppet Atahualpa 3 Wordpress theme 2 Jun 10, 2009 10:24 AM
Header Image Alt Tag fratelli78 Header configuration & styling 1 Jun 1, 2009 05:53 AM
[SOLVED] Any way to set style for Header Image (Rounded corners) juggledad Header configuration & styling 5 Apr 10, 2009 02:53 PM


All times are GMT -6. The time now is 04:27 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.