Forum Replies Created
-
AuthorPosts
-
greeneconMember
Yes that helped. Well, more than helped. Solved it. Thanks so much.
greeneconMemberWorked for me. I needed to make it smaller, as we use it for disclaimers, and other info that doesn't need to be full size. So thanks!
greeneconMemberI apologize for being such a git, but I"m not sure what you think I should do with this code. [pardon the language].
Simple hooks has a section that seems like it would be a good place to place your code, but not sure what part of the code to put. [image below]. Assuming if this was the right to code to put here, then we'd just check the 'execute shortcodes' , but not php one.
We put in in our test site functions.php. It didn't break the site, but wp-tiles isn't working there anyway. We have little to no content which I am assuming is the problem and trying to fix that. Anyway, where does this code go? Tana
greeneconMemberTotally confused. I was trying to understand what you recommended. Are you suggesting that what you thought would work won't work? Or that I totally misunderstood what to do with the information you provided.
Your info below:::::::::
What you’ll need to do is add this code to a custom function which includes a conditional tag for your category archive pages.
if
( function_exists (
'the_wp_tiles'
) ) the_wp_tiles();
Use the conditional tag for category pages, is_category() http://codex.wordpress.org/Conditional_Tags#A_Category_Page
There’s no template files for category pages in the child theme which is better because you need to use custom functions.
WordPress Developer & Consultant
Brad Dalton @ WP Sites – Click Here to Get Genesis Child Theme Tips Delivered.greeneconMemberThis is what I understand from what you wrote.
I put in my functions.php
if
( function_exists (
'the_wp_tiles'
) ) the_wp_tiles();
Not sure where the following goes: 'Use the conditional tag for category pages, is_category()'
I am thinking this goes on the category page somewhere, so would be 'is_category(12)' for our news category. Since we want to use on many category pages, do we customize each? Thanks. t.
greeneconMemberWe did hear from Premise, and this is what they said.
We should use the [show-to accesslevel=full] [/show-to] tags better, so now we have directions for people who get 'lost', but is below the content for those who do have access. thanks for asking. Premise rocks.
greeneconMemberthanks. t.
greeneconMemberIT WORKED IT WORKED IT WORKED! Jump, jump, shout, jump, shout, jump, jump.
greeneconMemberLooks like resolved. I had two of these posts going under 2 categories as it took so long for anyone to answer. The other guy said to add:
.home .entry-content img {
float: left;
padding-right: 20px;
}Which fixed the home page problem, then I could remove the float left from .entry-content and add it back to post.image. Everything is now working.
greeneconMemberYou are becoming my hero. Will try this. Tana
greeneconMemberI am trying to have the images within a post have the ability to align right. I asked the question, and made changes above which did indeed allow us to flush images within posts to align right.
HOWEVER, we then had the category and home page images (the top section, not the two columns below) no longer wrap text. So we have added the
flush: left;
back in where we took it out, and that works fine, but now the images within posts no longer will align right. We're back where we started. Tana
greeneconMemberGood question. I have cleared browser cache, but not thought about plug-in cache. How do I figure that out? And thanks. Tana
greeneconMemberDid what you suggested, but it made the images on the home page and the category pages no longer wrap. Here's what happened below.
/* atk 2-2013 Recommend we remove 'float left' but that messed with home page */
.entry-content img {
float: left;
padding-right: 20px;
max-width: 100%;
}.avatar,
.featuredpage img,
.featuredpost img,
/* removed 'float left' to hopefully let images go either way. messed with category pages ATK 2-20-13 */
.post-image {
float: left;
background-color: #fff;
border: 1px solid #ddd;
padding: 4px;
}greeneconMemberWorked to make images within posts align either right or left, but then the home page and category pages were messed up. The text no longer wrapped around the left side image. Not sure what to do now.
/* atk 2-2013 Recommend we remove 'float left' but that messed with home page */
.entry-content img {
float: left;
padding-right: 20px;
max-width: 100%;
}/* Recommend we remove 'float left' but that messed with category pages ATK 2-20-13 */
.post-image {
float: left;
background-color: #fff;
border: 1px solid #ddd;
padding: 4px;greeneconMemberI really apologize. For some reason when I checked this setting I thought i had to do both. Thanks for you patience. t.
greeneconMemberWe want comments. Just not trackbacks.
greeneconMemberYou did it exactly right. It just started looking right. Thanks. I very much appreciate it.
greeneconMemberThis is what's in my CSS. I even took it to 40% and made no difference.
.genesis-grid-even {
float: right;
padding: 0 0 15px;
width: 43%;
}
}.genesis-grid-odd {
clear: both;
float: left;
padding: 0 0 15px ;
width: 43%;greeneconMemberDidn't. Sometimes I think that changes in the CSS don't seem to show up in the template. I am wondering if that is because this is responsive. Or a conflict with WordPress 3.1x. I had to add some code to the functions.php so that i could limit the category on the home page to the one we wanted, and fix the wrong number of posts. [Help from StudioPress]. The home.php doesn't work anymore, which is kidna annoying.
Any other ideas? t.
greeneconMember1: here is a URL:
http://www.thegreeneconomy.com/uncle-sam-wants-your-clean-tech/
The image at the top of the page should align right, but it is not. There is an image further down with a caption that is aligning right. This is the first time that has happened, so I suspect that caption may override the problem.
2: I changed css t:
.post-image {
0 0 30px -20px !important;
}Made no difference. Sometimes it seems that changes to CSS doesn't change anything. It could be Generate.
-
AuthorPosts