bobafred
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: One title larger than others?I’m pretty sure the problem is having ‘k2-asides’ as a class for certain posts. Those with ‘k2-asides’ seem to have small titles, those without have the larger titles.
I’m not familiar with K2 at all, but are there different ways to make posts? My understanding of asides is that they are smaller posts that show up in a sidebar or something like that.
If you wanted to, you could mess with the CSS file to try to make the titles look the same.
An example, for your Rocky Balboa post:
<div id="post-266" class="hentry publish author-thereviewer category-movies category-drama y2006 m12 d27 h12 k2-asides">
note the ‘k2-asides’ in the list of classes.
Forum: Themes and Templates
In reply to: Question w/ Rin themeIt looks like there is an image (header_whole2.gif) that makes up most of that whitespace. You could remove some code in the .css so the image is not put there, but that would also get rid of the curvy corner to the right, which is part of the image. This can be found in
#topcontentdouble
in the .cssI think there is also some extra padding being added by
.title a
that could be removed. But, this would affect all of your blog post titles, not just the top most one.Not much help, but maybe it’ll point you in the right direction. Good luck.
Forum: Themes and Templates
In reply to: css styles and google adsense for searchAh yes, I never use IE. Not a terribly difficult fix, though.
First, add this next line to your .css file:
.searchFormRadio { background-color: #000000; }
Next, find the code that looks like this (probably in your sidebar.php), and make the addition in bold:
<td>
class=”searchFormRadio”
<inputtype="radio" name="sitesearch" value="" checked="checked"></input>
<font size="-1" color="#ffffff">Web</font>
</td>Do this for the other radio button too and you should be set. Of course you can change the name of the class to whatever you like, but seemed to make sense to me.
Hope this helps out.
Forum: Themes and Templates
In reply to: css styles and google adsense for searchTo make the changes for the comment form fields, take a look at the code I copied and modified from your .css at pastebin:
https://bobafred.pastebin.com/568044
I didn’t put your whole file, b/c it would be real huge, but you can find those two sections and make the four changes and should be good to go. You’ll notice that the section this code comes from has a few other comment form styles that you can tweak as needed.
As for your buttons, how do they look weird? The search button looks fine in Firefox.
Forum: Fixing WordPress
In reply to: Flickr badge on sidebarYou would want something similar to this:
<li>
<h2>Flickr</h2>
<ul>
<code_from_flickr>
</ul>
</li>If you want it after the Meta section, make sure to put the above code after
<?php } ?>
but before the</ul>
.Good luck.
Forum: Themes and Templates
In reply to: Why is some css working and some not?Search for this block in your .css file:
#sidebar h1, #sidebar h2, #sidebar h3, #sidebar h4
{
line-height: 0.8em;
margin: 0 0 0.6em 0;/* -------------------------
Other Text
------------------------- */There is a missing
}
after the line where you set the margin. This should fix all the problems you’re seeing.When I copy and paste your .css into my editor, it is around line 125.
Hope this helps.
Forum: Fixing WordPress
In reply to: CSS & 3 Columns…There is a
min-height
property in css that you can try to add either to the main <div>, or to the center dynamic length container. This should fix the problem with Firefox and Opera.It looks like in IE it’s not that big of a deal, because the main containing <div> will stretch to the largest column, which happens to be the left column for you. The footer/copyright info section looks a little out of place, but you might be able to fix that by breaking it out of the main <div> and putting it after or something.
More info here: https://www.w3.org/TR/REC-CSS2/visudet.html#min-max-heights
Good luck.
Forum: Fixing WordPress
In reply to: show only links not category name?I’ve used the
get_links()
function to do this.Forum: Fixing WordPress
In reply to: Help With ValidationThe onClick error should be fixed by making it
onclick
(in all lowercase). XHTML is all lowercase.As for the other errors,
embed
is not a part of the XHTML specification. I think you can useobject
instead.I did a google search and found this page at A List Apart:
https://www.alistapart.com/articles/flashsatay/Good luck.
Forum: Fixing WordPress
In reply to: Only show part of post on front page?Take a look at this:
Forum: Everything else WordPress
In reply to: Basic Select 4 BeginnerOthers might have better info, but you could try these pages in the Codex for starters.
Database Description (1.5)
https://codex.www.ads-software.com/Database_descriptionDatabase Description (2.0, rough draft)
https://codex.www.ads-software.com/Database_Description20wpdb Class
https://codex.www.ads-software.com/Function_Reference/wpdb_ClassForum: Plugins
In reply to: Post/Comment Count Outside the Loop?You can look at the code for the Admin dashboard by looking at: your_site/wp-admin/index.php in your favorite editor to see how it’s done.
It uses SQL queries to return the counts for posts, comments, and categories. I don’t believe there are any tags to return this data, but I think there are plugins to accomplish what you are looking for.
ex:
$numposts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish'");
Forum: Themes and Templates
In reply to: category list on main indexA link to your site would be helpful and also what theme you are using.
BUT, if I had to guess I would say somewhere in header.php.
Forum: Fixing WordPress
In reply to: Hide the number of items in a categoryI believe it would depend on which function you are using to display the category list. Try these pages in the codex:
https://codex.www.ads-software.com/Template_Tags/wp_list_cats
or
https://codex.www.ads-software.com/Template_Tags/list_cats
Either way, look for the optioncount parameter and set it to 0 or False depending on the function used.
Forum: Fixing WordPress
In reply to: Changing location of “home” pageOnly by exactly 5 minutes. ??