Forum Replies Created
-
AuthorPosts
-
Jen Baumann
ParticipantYou're welcome!
Jen Baumann
ParticipantHi Hidde!
Instead of align="middle" or align="center" on your image. use this:
style="margin: 0 auto; display: block"
Jen Baumann
ParticipantIn addition to removing backstretch above, to return the WP background function to its full glory, you can also edit this line in functions.php.
add_theme_support( 'custom-background', array( 'wp-head-callback' => '__return_false' ) );
to this
add_theme_support( 'custom-background' );
February 11, 2013 at 8:12 am in reply to: Change permalink '/listings/' to '/apartments/' in AgentPress #19590Jen Baumann
ParticipantRemove all the css below this:
/* Responsive Design
------------------------------------------------------------ */Then remove the viewport metatag from functions.php.
/** Add Viewport meta tag for mobile browsers */ add_action( 'genesis_meta', 'magazine_add_viewport_meta_tag' ); function magazine_add_viewport_meta_tag() { echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>'; }
You also have script added to the css file that shouldn't not be added to that type of file.
February 7, 2013 at 10:51 am in reply to: Featured Widget Amplified post title via custom field #18682Jen Baumann
ParticipantI think this still works: http://dreamwhisperdesigns.com/genesis-tutorials/genesis-custom-widget-post-titles/
February 5, 2013 at 9:18 am in reply to: Need help with print stylesheet and printing logo – can't get it to work #18209Jen Baumann
ParticipantYou're very welcome! I'm glad I could help!
February 4, 2013 at 7:16 am in reply to: Need help with print stylesheet and printing logo – can't get it to work #17816Jen Baumann
ParticipantThat's because you have
#nav li li a:visited { background-color: #9EC4E6; border: 0px solid #9EC4E6; color: #1c7b87; border-top-width: 0; font-size: 12px; padding: 5px 10px; position: relative; text-transform: none; width: 120px; }
I haven't visited those pages, but you have. Hence the difference 😉
February 3, 2013 at 7:35 am in reply to: Need help with print stylesheet and printing logo – can't get it to work #17594Jen Baumann
ParticipantYes, that's correct!
You must have fixed this already. I see #1c4587 normal and #1c7b87 on hover for the drop down menu items.
February 2, 2013 at 11:09 pm in reply to: Need help with print stylesheet and printing logo – can't get it to work #17555Jen Baumann
ParticipantNo, those are user controlled settings. The viewer can change those from the browser they print from, but you have no control.
For the link to your print.css, you do need quotes around it the href. It may have shown as having an extra one earlier if you had a “ instead of a
"
(subtle difference, but there is one).I can't post the code here, it rewrites it.
February 2, 2013 at 10:57 pm in reply to: Need help with print stylesheet and printing logo – can't get it to work #17552Jen Baumann
ParticipantClear your cache and refresh 🙂 I think now that you've fixed your parse errors, it should appear.
February 2, 2013 at 10:35 pm in reply to: Need help with print stylesheet and printing logo – can't get it to work #17549Jen Baumann
ParticipantPS. It looks like you made some edits to the #nav css tonight as well, which is causing a couple of parse errors in your style.css file.
#nav li a .sf-sub-indicator { background: url(images/arrow-down.png) no-repeat; background color: #9ec4e6 height: 10px; position: absolute; right: 10px; text-indent: -9999px; top: 20px; width: 10px; }
the background color line should be (or you can just move the hex number to the prior line and delete the background-color line):
background-color: #9ec4e6;
#nav li li a:visited { background-color: #9EC4E6; border: 0px solid #9EC4E6; color: #1c7b87 border-top-width: 0; font-size: 12px; padding: 5px 10px; position: relative; text-transform: none; width: 120px; }
color is missing the semicolon at the end ;
#nav li li a:hover, #nav li li a:active { background: #9EC4E6; color #1c7b87 background-color: #0274be; }
color is missing the semicolon at the end and you're basically repeating background colors with both background and background-color.
February 2, 2013 at 10:15 pm in reply to: Need help with print stylesheet and printing logo – can't get it to work #17543Jen Baumann
ParticipantA couple of things.
The css I gave you above needs to go in this file: http://hoseheadmarketing.com/wp-content/themes/corporate/print.css
This css (that you did have in your style.css before), needs to stay in style.css:
#print-logo {display:none;}
The image you add above needs the id added:
<img id="print-logo" src="
Remove what you put in the wp_footer hook.
February 2, 2013 at 5:45 pm in reply to: Need help with print stylesheet and printing logo – can't get it to work #17489Jen Baumann
ParticipantAdd the css I showed above to your print.css. Right now, you only have a tiny bit of css in it. It needs to have what I gave you above in it.
I do see you updated the url. BUT, it appears to have an extra " at the end so it isn't being included properly.
You do need to include the image in the header right widget area, in the same widget that is already there. Because you have #print-logo {display:none;}, it won't show for screen. The css I gave you to include in the print.css will change the layout for print.
Do those things, then I'll take a look at it again and we'll update as we need to.
February 2, 2013 at 1:47 pm in reply to: Need help with print stylesheet and printing logo – can't get it to work #17404Jen Baumann
ParticipantYou've got several things going on here that are causing it not to work. Mostly, it's location of files. The location you've used is /css/print.css, but your actual location is http://hoseheadmarketing.com/wp-content/themes/corporate/print.css. So, update that url.
The same thing with the logo url. . I would put this as the first thing in your Header Right Widget Area instead - in your existing text widget.
Change the css in your print.css to this, which will work, assuming the image is in the Header Widget:
body { background: none repeat scroll 0 0 white; color: black; margin: 0; } #print-logo { height: 102px; width: 260px; float: left; } #header, #print-logo { display: block; } #title-area { display: none; } #header .widget-area { width: 100%; }
February 2, 2013 at 1:23 pm in reply to: Genesis Features posts widget img tag includes width and height #17392Jen Baumann
ParticipantFor IE8, you can try just adding width: auto for the img tag. max-width: 100% for the image tag (elsewhere in the stylesheet takes care of responsive)
img { height: auto; width: auto; }
Jen Baumann
ParticipantAs of Genesis 1.9, it is a little different. http://wpsmith.net/2013/genesis/genesis-grid-loop-in-genesis-1-9/.
Jen Baumann
ParticipantAlso look at the settings under Appearance > Themes > Customize. There's yet another checkbox there for header text now.
Jen Baumann
ParticipantThere's some suggestions here: http://stackoverflow.com/questions/10966534/android-browser-resizes-text-automatically.
If I had a droid, I'd be more helpful...
Jen Baumann
ParticipantI don't have an Android, but the link to your site isn't there for anyone to look 🙂
-
AuthorPosts