Forum Replies Created
-
AuthorPosts
-
cspowersMember
did some googleling around. People suggesting going to the permalink settings and clicking save to save the permalink option again. Sure enough that worked. go figure.
cspowersMemberI realized that i was on a back level version of the theme. (v3) I upgraded to the latest version of the theme and the problem went away.
cspowersMemberUpdate:
So digging into the code, i saw that the responsive menu icon is a character out of a font set called dashicons:
.responsive-menu-icon::before {
content: "\f333";
display: inline-block;
font: normal 20px/1 'dashicons';
margin: 0 auto;
padding: 10px;
}The exact same code is used for both the primary and secondary menus. But when I compared the computed style of both, what I discovered is that the font color on the primary menu was 255,255,255 but on the secondary menu it was 34 34 34. Given that the background is also white, or very nearly, that explains why it can't be seen.
Not sure why the font color got set to white on the primary menu, But I have been doing a lot of tweaks to my menus so I'm willing to believe that my tweaks introduced the bug instead of being in the magazine pro theme itself.
So I hacked in a hard coded color definition like this:
.responsive-menu-icon::before {
content: "\f333";
display: inline-block;
font: normal 20px/1 'dashicons';
margin: 0 auto;
padding: 10px;
color: rgb(34, 34, 34); /*added */
}And it seems to be working great now with no bad side effects (that I can see so far).
April 15, 2014 at 10:05 am in reply to: Genesis Pages Display Metadata Info when BuddyPress Is Installed #100491cspowersMemberThanks again! Very helpful!
April 14, 2014 at 4:27 pm in reply to: Genesis Pages Display Metadata Info when BuddyPress Is Installed #100311cspowersMemberMany thanks for the tip. But I'm a newbie to this so just to make sure I understand correctly. are you saying I should make a copy page.php and call it buddypress.php an then add those new lines to it? Or are you saying create a brand new file in the same directory as page.php called buddypress.php and add those lines to it?
Thanks
CalvinFebruary 22, 2014 at 6:11 pm in reply to: Enterprise Pro – moving navigation menu loses responsive menu #91968cspowersMemberIf I understand your post correctly I'm also having a similar problem with the Eleven Forty Pro theme.
I've been using the regular Eleven Forty Pro for a long time and I would get the mobile responsive menu when I viewed my site on mobile devices or even narrow windows browsers.
Today I installed Eleven Forty Pro. Installed the same menu as the primary menu and now the menu never collapses to the mobile icon based menu. It just wraps and wraps and it looks ugly.
I did a quick scan of the tutorials/code snippets etc and didn't see anything specific to this issue. So I'm not sure how to proceed.
cspowersMemberHey, I'm having a similar problem customizing my fonts on the prose theme.
What I want to do is use Oswald for my heading font, especially the H1 tags on post titles.
I'm on Genesis Version: 1.9.2 · Released: April 10, 2013
I'm using the Prose theme Version 1.5.2
I added the following code to the customs function in the genesis settings
add_filter('prose_font_family_options', 'custom_prose_font_family_options');
/**
* Edit a Prose font stack option.
*
* Ensure that double-quotes wrap the font stack variable, with single quotes
* wrap multi-word fonts.
*
* @param array $options Font options ( 'Display Name', 'font stack' ).
*
* @return string
*/
/** Load Google fonts */
add_action( 'wp_enqueue_scripts', 'custom_load_google_fonts' );
function custom_load_google_fonts() {
wp_enqueue_style( 'google-fonts', 'http://fonts.googleapis.com/css?family=Oswald|Merriweather|Open+Sans', array(), PARENT_THEME_VERSION );
}I modified the h1 field as follows:
h1,
h2,
h3,
h4,
h5,
h6 {
color: #222;
font-family: Oswald, Arial, Helvetica, sans-serif;
font-weight: normal;
line-height: 1.25;
margin: 0 0 10px;
padding: 0;
}When I load the page, the post title (an h2 tag) is unchanged. It's not using Oswald.
When inspect the post title with Google Chrome's inspect tool, it shows me two rules for h2
h1,h2,h3,h4,h5,h6{color:#222;font-family:Oswald,Arial,Helvetica,sans-serif;font-weight:normal;line-height:1.25;margin:0 0 10px;padding:0;}
h1,h2,h3,h4,h5,h6{font-family:Arial,Helvetica,sans-serif;font-style:normal;font-weight:bold;text-transform:none;}
It shows that the second rule is overriding the first. Weird thing is, both rules are in the generated file
/wp-content/uploads/prose/minified.css?ver=1367970488
I have no idea what the ?ver=1367970488 means but I see that the there is a file by that name and it has a comment up at the top indicating that it is "generated"
The rule with Oswald in it matches the edits I made in style.css. I have no idea where the other rule came from. But it's the one overriding
Also, what the heck is this minified.css file in the uploads/prose directory? Based on the comment thread above, I got the impression that this file is created when you make changes to the Genesis settings and save them. Sure enough. I deleted the minified.css file, hit the same button and it regenerated the minified.css file.
The crazy thing is. If I delete the minified.css file, the Oswald font appears in the post title! And it appears to stay that way until the next time I make a change in the Genesis settings and theminified.css file gets regenerated.
That's as far as I've been able to get with it. Also, in case it matters, I'm on Bluehost.
Any recommendations?
Calvin
cspowersMemberthanks wpsmith. Your code samples worked for me.
cspowersMemberI have the exact same problem and issue for my site. Prior to the upgrade to 1.9.1, I used the cat parameter to restrict the posts that show up on my home page to one category. (I have a blog template page on my site that I use to list all posts in all categories).
But 1.9.1 seems to ignore this parameter entirely and now my home page shows all posts in all categories regardless of the cat parameter in home.php.
It's interesting that in the genesis parameters, I can specify a category for the blog page template so that it includes only specific set of categories. But this is opposite of what I want. I want my blog template page to contain all posts in all categories, but I want the home page to only contain one category.
Also, I would not swear to this, but it appears to me that the posts_per_page parameter is being ignored as well. I seem to get 20 posts on my home page no matter what I set posts_per_page to.
cspowersMemberThanks! I'm a newbie to coding hooks but I'll give it a try. Looks I can use that tutorial to set up the query for the home page to include only the posts in a particular category.
-
AuthorPosts