transat99
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: CSS for WP Gallery?thegreatgatzby-
I just happened to look see this the day after you posted…
I did figure it out about a month ago and should have posted it here at that time. In my theme’s style.css, I added:
.gallery {
margin: 0px;
line-height: 0em;
}.gallery-item {
float: left;
margin-top: 0px;
text-align: center;
}.gallery img {
border: 0px;
margin:0px;
padding: 0px;
}.gallery-caption {
margin-left: 0px;
}I believe that it “overrode” any conflicting CSS in my plugins (and everywhere else) and removed all spacing between thumbnails.
Funny thing is — after I got it to work, I decided that I didn’t like it (for my thumbnails)! Hope it works for you. ??
Forum: Plugins
In reply to: Flash Video Plugin without JW FLV Media Playeranyone?
Forum: Fixing WordPress
In reply to: Archive by Week?Not sure what documentation you are talking about? Could you please provide a link?
Forum: Fixing WordPress
In reply to: Archive by Week?I’m assuming that there is no plugin that will work for me.
But I don’t mind adding the weekly archives on my sidebar manually … I just don’t know enough about php to make week “38” direct users to Sept. 14-20, 2008 posts…
Any ideas? Please…
Forum: Fixing WordPress
In reply to: Archive by Week?Thanks, TheSooFoo
I have been looking thru all the plugins (for some time now) and can’t find one that changes monthly archives to weekly archives on the sidebar.
There are quite a few plugins that change the archives one way or another, but if there is one that does what I need, I don’t see it…
Does anyone know the actual name of the plugin(s) … or know of another way?
Thanks… ??
Forum: Fixing WordPress
In reply to: Edit gallery margins?Okay, I’ve found the following info at https://media.wiley.com/assets/1531/35/BonusChapter.pdf
4. You can change the order of appearance of the images in the gallery,
as well as the markup (HTML tags or CSS selectors).? captiontag: Change the markup that surrounds the image caption
by altering the gallery short code to something like this:
[gallery captiontag=”div”]. This places <div> .. </div>
tags around the image caption. Or use [gallery captiontag=”
p”] to place <p class=”gallery-caption”>…</p>
tags around the image caption. The default markup for the captiontag
option is dd.? icontag: Change the markup around the icontag (thumbnail
icon) of the image by altering the gallery short code to something
like this: [gallery icontag=”p”]. It places <p
class=”gallery-icon”>…</p> tags around each thumbnail
icon. The default markup for icontag is dt.? itemtag: Change the markup around the itemtag (each item) in
the gallery by altering the gallery short code to something like
this: [gallery itemtag=”span”]. This places <span
class=”gallery-item”>…</span> tags around each item in
the gallery. The default markup for the itemtag is dl.? orderby: Change the order used to display the thumbnails in the
gallery by altering the gallery short code to something like this:
[gallery orderby=”menu_order ASC”]. The thumbnails are
displayed in ascending menu order. Another parameter you can
use here is ID_order ASC, which displays the thumbnails in
ascending order according to their IDs.22 Discovering What’s New in WordPress 2.5
Table BC-2 Gallery Short Codes
Example Output[gallery columns=”4” A four-column gallery containing
size=”medium”] medium-sized images.[gallery columns=”10” A ten-column gallery containing
id=”215” size=”thumbnail”] thumbnail images pulled from the blog
post with the ID of 215.[gallery captiontag=”p” A three-column (default) gallery where
icontag=”span”] each image is surrounded by
<span>…</span> tags.You can define the style of the span tags in your CSS stylesheet if you have a little knowledge of CSS. For example:
span.gallery-icon img {
padding: 3px;
background: white;
border: 1px solid black;
margin: 0 5px;
}Placing this CSS in the stylesheet of your active theme automatically inserts a one-pixel black border around each thumbnail, with three pixels of padding and a white background. The left and right margins are five pixels in width, creating nice spacing between images in the gallery.
…and it does KIND OF work. If I add [gallery itemtag=”span”], it does place <span class=”gallery-item”> … </span> tags around each item/image in the gallery…
But when I attempt to use CSS (as described above), nothing changes. Nothing!
Does ANYONE know what I’m doing wrong? I’m beyond desperate!!!
Forum: Fixing WordPress
In reply to: CSS for WP Gallery?Does anyone know how to adjust the number of column (and the margins) for WP Galleries when the above doesn’t work?
Forum: Fixing WordPress
In reply to: CSS for WP Gallery?Okay, I give!
I’ve tried changing columns in wp-includes/media.php to:
‘columns’ => 4,
…but I’m still getting 3 columns. At the moment my thumbnails are 100px wide so I’m just making sure this will work before I adjust them down to 90px.
I’ve also changed:
.gallery-item {
float: left;
margin-top: 0px;
text-align: center;
width: {$itemwidth}%;
}.gallery img {
border: 0px solid #cfcfcf;
}…and I’m getting lots of margin (on all sides). I’ve tried adding “margin: 0px;” below “margin-top” with no results as well…
Anyone have any ideas?
Forum: Fixing WordPress
In reply to: CSS for WP Gallery?specialburce – Thanks!