Peter Boosten
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to display comments in balloons or bubblesThe comment is embedded in 4 div tags (in the example you point to
<b />tags are being used), all those tags have a corner image assigned to it.It’s a common way to create a rounded box. Underneath an additional image is added to form the point.
It’s not that hard, but you need some xhtml- and css knowledge for it.
A ’rounded box’ tutorial can be found here.
Peter
Forum: Themes and Templates
In reply to: Getting rid of “Home” Tabno, this is a perfect solution (and probably the only solution).
Peter
Forum: Themes and Templates
In reply to: Text acts up when people click new posts on frontpageBecause that has been defined in your stylesheet:
.post p:first-child { color:#F44040; font-family:Georgia,Times New Roman,Arial; font-size:16px; font-weight:lighter; line-height:17px; }(style.css line 330)
Peter
Forum: Themes and Templates
In reply to: How to widen a container Vs2I can go into the CSS and change the size of the containers and that works but the background from the sidebar does not move with the sidebar and so stays in the middle of the template.
And that’s exactly your problem: the background image on ‘container’ is 570px wide, and won’t change whatever you try.
There are actually two options:
- you change the background image to something appropriate (you have to modify the background images, including the ones in the header and footer
- you drop the idea of background images all together
There’s no easy fix, unfortunately.
Peter
Forum: Themes and Templates
In reply to: Can Themes be merged?The short answer is ‘yes, they can be merged’, but the reality is a bit more complex: you would have to copy both the xhtml code and styling information for that part into the other theme, which may or may not be different in layout.
If you’re looking for an easy answer, you won’t find it.
Peter
Forum: Themes and Templates
In reply to: How complex is it to add a second side bar to my theme?Search the codex, and find some useful information 🙂
Peter
Forum: Themes and Templates
In reply to: Archive Page?The easiest way is to drag the ‘Archives’ widget into your sidebar.
Another way is to create a page template, like suggested by esmi, around this code:
<?php wp_get_archives(apply_filters('widget_archives_args', array('type' => 'monthly', 'show_post_count' => $c))); ?>Peter
Forum: Themes and Templates
In reply to: Adding Archives to Template Sidebar (NOT WIDGET)have a look at /wp-includes/default-widgets.php how they extract the archives and copy the code you need.
Peter
Sorry, but none of the php pages listed in my editor has that code listed
No offense, but I don’t think you looked for it hard enough. those divs are in sidebar.php cq sidebar2.php.
Nonetheless changing the theme the way you want to might prove to be tricky (at least). The sidebars are called from within functions.php, which uses options to decide whether 1 or 2 sidebars should be shown (all this from a quick glance at the code), and these options are global, not per page.
Peter
I’ll download the theme and look through the code myself…
But’ll have to wait till tomorrow morning, signing off now 😉
Peter
Forum: Themes and Templates
In reply to: True static pages?I suppose I could automatically create WordPress pages when the theme is activated using the functions.php file. That seems a bit dicey to me – too many ways for that to end badly. Or, I could just have the functions.php file load a purely static page from somewhere.
You could always create page templates, holding static text, but you’ld have to assign them to a page anyway (which has to be created).
Peter
Search in your theme directory for the following two items, then you’ll know where your sidebars are:
<div id="sidebar"><div id="secondsidebar">Peter
Forum: Themes and Templates
In reply to: add extra empty space ABOVE header?margin-top?
Peter
The sidebar doesn’t necessarily have to be called by get_sidebar(), there are other ways as well.
If it’s a widgitized sidebar, look for dynamic_sidebar();
If it isn’t, then you’re better off telling us the URL of your site.
Peter
Forum: Themes and Templates
In reply to: Theme is a messSo I was right, this is your current structure:
<div id="rap"> <div id="header"> <div class="header-title"></div> <div class="header-description"></div> </div> <div id='menu-left'> <div id="search"> </div> <div id="content"> <div class="post"> <div class="meta"></div> <div class="storycontent"></div> <div class="feedback"></div> </div> <div style="visibility:hidden; display:none"></div> <div style="visibility:hidden; display:none"></div> </div> <div id="credit"></div> <div id="footer"></div>I would suggest this:
<div id="rap"> <div id="header"> <div class="header-title"></div> <div class="header-description"></div> </div> <div id='menu-left'> <div id="search"> </div> </div> <div id="content"> <div class="post"> <div class="meta"></div> <div class="storycontent"></div> <div class="feedback"></div> </div> <div style="visibility:hidden; display:none"></div> <div style="visibility:hidden; display:none"></div> </div> <div id="credit"></div> <div id="footer"></div> </div>Two missing
</div>‘sPeter