Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Nifty plugin, need CSS advice for it


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 5, 2009, 04:24 PM
paulae's Avatar
paulae
 
1,332 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
I decided I want to show thumbnails on the front page excerpts, so I'm using Thumbnail for Excerpts plugin. It works really well. You have to edit the code to change things, and it gives you the CSS class. I thought I could go into theme options and style the class so the thumbnails would have a 1px black border, but it's not showing up that way. I used this:

Code:
imgtfe {
border: solid 1px #000000;
}
imgtfe is the class. The thumbnails are small, 65px high. I wonder if something that small is by default not "allowed" to have a border?
  #2  
Old Apr 5, 2009, 06:24 PM
Flynn's Avatar
Flynn
 
3,761 posts · Oct 2008
Munich, Germany
A dot is missing
HTML Code:
.imgtfe {
border: solid 1px #000000;
}
or, to limit it to images with that class, in case there are other elements with the class imgtfe, too
HTML Code:
img.imgtfe {
border: solid 1px #000000;
}
I usually add the selector (img, div, span, p) etc. too, to make things clearer:
div.classname instead of .classname

dot means class
hash means ID

.classname or img.classname
#idname or img#idname
  #3  
Old Apr 5, 2009, 08:27 PM
paulae's Avatar
paulae
 
1,332 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
Oh thank you again. Those dots'll get you every time.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for advice on changing the banner ctaylor37 Forum How-To 5 Sep 12, 2009 04:33 AM
Trouble styling calendar plugin--ATA over-riding CSS? paulae Plugins & Atahualpa 7 Jul 18, 2009 04:44 PM
sliding panel plugin and ie css issue bushtool Header configuration & styling 2 Jul 6, 2009 09:52 AM
CSS and Header pctechb Header configuration & styling 4 May 5, 2009 05:18 PM
Having trouble with the "now reading" plugin displaying pictures... widget CSS jmesax Sidebars & Widgets 3 Mar 28, 2009 11:44 PM


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


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