david.bailey
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Change of main menu colorUsually you would just edit your style.css. A great way to find the line that establishes the text color is to use Chrome’s developer tools to inspect the element and see how your website has been styled, or you can use firebug if you’re using firefox.
Forum: Themes and Templates
In reply to: Adding second sidebar to twentytenYou’ll need to first register the sidebar and then load the sidebar in your template using dynamic_sidebar. From there it’s a matter of styling it using style.css to make it appear correctly.
Forum: Themes and Templates
In reply to: 2 div style for Each PostYou should probably try it out first. It adds a value of 1 to the variable $count for each post in the array.
Forum: Themes and Templates
In reply to: Theme: twentyten, functions.php editing crashIt sounds like you might not have closed something right. Upload the code to past bin so we can take a look.
Forum: Themes and Templates
In reply to: 2 div style for Each PostIn the foreach you could probably create an increment to produce those classes. For example:
$count = 0; foreach ( $var as $v ){ //Increment each iteration $count++; $output_buffer .= '<li><div class="writers' . $count . '"><span class="article_title">'; }
Something like that should work.
Forum: Themes and Templates
In reply to: 2 div style for Each PostWordPress already creates specific classes for post IDs, page types, and even whether the page is even or odd. You should be able to see the source or inspect the element using firebug. You should be able to style the theme accordingly using your style.css file
Forum: Themes and Templates
In reply to: Purpose of header.php and footer.phpIt seems the only purpose is to separate the code in those sections.
Think about it this way. You could only use header.php and header() once per template or you can duplicate the header code for each and every template. Should you want to change one thing in the header section and have it reflect all templates, it’d be a pain to have to do that so many times. It’s for efficiency and prevention of code duplication if nothing else.
Forum: Themes and Templates
In reply to: How to open full image size in a window inside websiteHi, sofiado –
If the function you’re using comes with a permalink argument, you can set that value to true. For example, you might be able to say:
the_attachment_link( 4, false, false, true );
The arguments there in order are the ID, Fullsize, Maximum Dimensions ( deprecated ), and permalink. Hope that helps
Forum: Themes and Templates
In reply to: [Portfolio Press] Portfolio Press Tags & CategoriesForum: Themes and Templates
In reply to: [Portfolio Press] Flash & Videos on Portfolio Press?Without looking at the theme itself, I think what they use is a widget or some shortcode for displaying an image gallery in a specific format. I would doubt that there’s an easy way to do it.
Forum: Themes and Templates
In reply to: Site not loading properly in FirefoxMost likely you’re doing something in the CSS that isn’t supported in the Firefox browser. When I checked it though, it looked fine. Try updating your version of firefox.
Forum: Themes and Templates
In reply to: Change Logo in iA3 ThemeThere should be a line on 1256 in your css file that reads:
#screen > header h1 img {
height: 3.4375em;
}It looks like you can change the size of your logo by making it a value like: 5.9375em;
Forum: Themes and Templates
In reply to: Image resize in ColourBox popupTry using “wp get attachment image src” instead. There’s a parameter that allows you to enter a custom size for the attachment.
Forum: Themes and Templates
In reply to: Crafting a real estate siteHere’s a theme that I thought looked pretty good. It uses a plugin called Real Estate Pro plugin.
Allure Real Estate Theme for Placester
You should be able to find some real estate based free themes in the themes directory in www.remarpro.com, and there are a lot of real-estate based plugins in the plugins repository.
Forum: Themes and Templates
In reply to: [Query] Blog page template query issueI’m kind of confused at what you’re trying to make your code do. If it’s at all helpful, it sounds like what you want should be built in to WordPress. Try to find a theme that does what you’re looking to do in look at the source code.