Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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, 10: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, 10:36 AM
juggledad's Avatar
juggledad
 
23,765 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, 11: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, 12:12 PM
juggledad's Avatar
juggledad
 
23,765 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, 12:19 PM
reradu
 
14 posts · Sep 2009
It works! Thanks alot!

Bookmarks



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


All times are GMT -6. The time now is 11:44 AM.


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