Forum Replies Created
-
AuthorPosts
-
January 19, 2013 at 7:59 pm in reply to: Need to put a video in top left widget in the Enterprise theme #13197ramseypMember
Hi there,
The CSS for the home-top-1 dynamic sidebar is set to pad the div by 20 pixels on all sides. If you look for
.home-top-1 .widget
in your CSS, you can change the padding from 20px to 0. This will allow anything in that div to align on all sides, provided it's sized properly to fit.Cheers!
Pat
ramseypMemberThe tabbed content piece is actually a plugin, Genesis Tabs. You'd have to customize the plugin's code to do this.
ramseypMemberHi Erik,
A couple of CSS edits should do the trick. Try adding this to your theme's style.css:
#subnav ul {text-align: center;}
#subnav ul li {float:none; display:inline-block;}
ramseypMemberHi there,
On single posts, are you seeing the author box appear multiple times? On my test, it works correctly on single posts. The code you have in the function custom_author_box_archive() looks problematic. Your conditional is too complicated. Are you wanting it to work only on author archives? If so, why not use:
if ( is_author() ) { ... }
That would restrict the author box to appear only on author archives. Now, if you want it to appear only once, at the top of the page, you'll need to modify the function a bit, as that's outside The Loop. You can try some code I have on this Gist: https://gist.github.com/4519891
Does this help?
Cheers!
Pat
January 4, 2013 at 10:18 pm in reply to: How to Show List of Latest Video (similar to Latest Posts)? #9690ramseypMemberHi John,
If Video is a registered post type (It appears that's the case with your site), you can use the Genesis Featured Widget Amplified plugin to do this. It replaces the standard Genesis Feature Widget with one that lets you feature custom post types in the widget. You could use that widget in your sidebar, tell it to use Videos, show the X-most recent, and display title's only.
You may need to edit your CSS to get them to display exactly the way you want.
An alternate path would be to search the WordPress plugins for a custom post type listing widget (I'm unsure of a particular one).
Cheers!
Pat
ramseypMemberHi Steve,
You should be able to. If you marry the code found on this WordPress support topic with this Genesis Code Snippet for Post Info, you should be able to add the code in this Gist to the theme's functions.php file & have it work. Make sure to not include the opening <?php , though...
You'll need to know the blog id of the site in question. Use that in the gist's code, replacing the '1' where you see:
if ( 1 == $blog_id )
Cheers!
Pat
January 4, 2013 at 9:55 pm in reply to: Internet Explorer 8 and 9 Stretch Images Vertically? Also, responsive design? #9687ramseypMemberIE (8 at least) is weird with images having the width / height set in the image tag, plus images having CSS width or height rules set. I would try inserting the image and *not* adjusting it's width or height. Just insert the full-size image and then see how it acts. Your CSS won't allow it to expand beyond the content div, so you don't have to worry about that.
ramseypMemberIf you just want to remove that part of the footer, what's known as the Credits, then this code, placed in your functions.php file should work:
/**
*
* Remove Default Credits Text in StudioPress Child Themes
*/
add_filter( 'genesis_footer_creds_text', 'custom_footer_creds_text' );
function custom_footer_creds_text() {
echo '';
}You can learn more about editing the footer content in the StudioPress Code Snippets.
ramseypMemberYou can use a function to get the name of the category, then add it to the top of the content area. I've used this code before when doing it. It will add a heading 1 before the content area and it will be styled like the entry headings. The code in that Gist would go into your theme's functions.php file. If that file ends with a question mark and a greater-than symbol ( &> ), make sure the code in placed before them.
ramseypMemberIf you just updated to WordPress 3.5, you may want to check your images to see if the Title attribute field is populated. The feature where an image's Title attribute is automatically added was removed in WordPress 3.5. You have to manually add that in when inserting or editing an inserted image.
ramseypMemberramseypMemberYou would have to edit the widget's code. If you're not familiar with PHP at that level, it may require you finding a developer to work on that code for you or to use the support forums on wordpress.org for the plugin.
ramseypMemberHowdy,
You would add that line I posted earlier, not edit an existing bit of CSS.
December 17, 2012 at 10:42 am in reply to: How can I make the body background color to be a different color, not white? #5757ramseypMemberPerry,
In styles.css, look for #inner. The white background behind the content on the page is set there.
ramseypMemberHi there,
If you're trying to add this to the output of the widget, you'll have to customize the widget itself so it knows what to do.
ramseypMemberJust Pages? Or single Posts?
If you want the title of a Page to be 24px, for example, you can edit your style.css to include this line:
.page .entry-title { font-size: 24px; }
Genesis uses the class "entry-title" for the titles of Pages & Posts. The class "page" is part of the body tag's classes when you're on a page, so joining them like I did means "any tag with the class of 'entry-title' inside a tag (body) with the class 'page' should have its font-size set to 24px".
ramseypMemberHi Mack,
You're talking about something that's a bit more advanced. If you are comfortable editing your theme's functions.php file, you can add some code that removes the footer entirely, then adds it back except for the specific page that doesn't need it.
Are you wanting a landing page? If that's the case, then you might want to create a new page template that you can select as you need it.
December 13, 2012 at 7:00 pm in reply to: How Do I Change The 'Page Title' On Individual Pages? #5114ramseypMemberHi Ritchie,
What you're seeing there is a combination of conditionals. The double ampersands have to be there so 'my-category' is excluded from the overall is_category() conditional preceding it. The !is_category('my-category') is a negative conditional. So both sides of the double-ampersand mean "if it's a category archive, but not the 'my-category' archive..." I would recommend reading through the Codex page on Conditional Tags so you can see how they're used. It will help, should you have another instance where you need to use them.
As for the blog, it looks like you have a "blog" category, so nothing special needs to be done. When that category is shown, "From the Blog" will be at the top of the page.
ramseypMemberI'd have to look at the theme code more closely, but if the screen dimensions are wider than 1600px, then the height will be quite tall, as the image's width increases. I believe the theme's code tries to maintain the image's proportions. If it didn't, then the image would be distorted, squished, etc.
December 13, 2012 at 6:24 pm in reply to: How Do I Change The 'Page Title' On Individual Pages? #5111ramseypMemberHi Richie,
I've got some code in a Gist that should work. Look at that link and you can see where I've added an exclusion in the "From the Blog" conditionals for a single category name. Then after that, I add a conditional just for that one category to output a custom title text for it.
-
AuthorPosts