sparklogix
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Images not showing up in IE8? Why?This is what it should look like: https://snag.gy/y0wFJ.jpg
This is what I’m seeing in IE8: https://snag.gy/Hew10.jpg
I had to reduce the resolution on the IE8 screenshot to get it all in one window, but you can see how the images go past the edge on the right side now. The edges are indicated by that horizontal rule below the images.
Forum: Fixing WordPress
In reply to: Images not showing up in IE8? Why?Ok, got on IE8, finally!
I added this to my ie8.css file:
a.rs-gen-img.thumbnail > img, div.thumbnail > img { max-width:100%; width:auto; }
The images show up, but are definitely bigger than the container they’re in.
Forum: Fixing WordPress
In reply to: Images not showing up in IE8? Why?Still working on that. I have to find a computer with IE8 since my minutes on SauceLabs ran out today.
Forum: Fixing WordPress
In reply to: Images not showing up in IE8? Why?Sorry, should have mentioned that’s what I used in place of the width:100% and the image didn’t auto-scale.
Forum: Fixing WordPress
In reply to: Images not showing up in IE8? Why?So I took out the width:100% in Firebug and when I do that, the image does not auto-scale down to the container size, but expands beyond it.
How can I have the image auto-scale while still having it show on IE8?
Forum: Fixing WordPress
In reply to: Images not showing up in IE8? Why?Right, that’s a slider. There are image to the right of it and all down the bottom of the page. Have you seen it on FF or Chrome? All the images show up there. I’m trying to figure out why they don’t show up in IE8.
Forum: Fixing WordPress
In reply to: Images not showing up in IE8? Why?All of them. If you view that site on FF, Chrome, even IE9, you’ll see a bunch of images on that homepage. I don’t see them at all in IE8.
Forum: Themes and Templates
In reply to: Selectable sidebars and widget areas@jamesg40, did you find a solution for this? I’m looking for the exact same functionality. Thanks!
Forum: Themes and Templates
In reply to: Add PHP stylesheet to enqueue_styles in functions.php file?Maybe I’m going about this the wrong way. Maybe I need a different solution than what I originally thought?
Using the Developer Tools on IE, I noticed that even though the default background color from the style.css file was crossed out (indicating it was not being used), and the correct/custom background color from the stylesheet.php file was not being crossed out (indicating it is being used), it still displays the default color.
So I’m confused as to why it’s happening. Is it that the load order is wrong? Or is it something else?
Forum: Themes and Templates
In reply to: Add PHP stylesheet to enqueue_styles in functions.php file?It looks completely different than our theme, and since I’m not the one that created it, I’m not sure how I would go about applying what they used in that theme to ours.
Forum: Themes and Templates
In reply to: Add PHP stylesheet to enqueue_styles in functions.php file?It’s one that we are building, with the help of the developer that took off.
Forum: Fixing WordPress
In reply to: Can 404 page use a different page template?Thanks Tara, but it’s not quite what I needed (though I had already checked there before posting here). What I want to do in the 404.php file is say “if this page template is being used for the 404 page, then do this”.
I tried this function but it’s still not working: https://codex.www.ads-software.com/Function_Reference/is_page_template
I just want to change the class name of a div if a certain template is being used. I’ve done this with the code:
<!--- Use Page Templates --> <?php $pt_class = ''; ?> <?php if($is_page_template['page.php'] ): ?> <?php $pt_class = 'span12'; ?> <?php elseif($is_page_template['template-leftsidebar.php'] ): ?> <?php $pt_class = 'pull-right'; ?> <?php elseif($is_page_template['template-rightsidebar.php'] ): ?> <?php $pt_class = 'pull-left'; ?> <?php endif; ?> <?php $sb_float = ''; ?> <?php if($is_page_template['page.php'] ): ?> <?php $sb_float = 'hidden'; ?> <?php elseif($is_page_template['template-leftsidebar.php'] ): ?> <?php $sb_float = 'pull-left'; ?> <?php elseif($is_page_template['template-rightsidebar.php'] ): ?> <?php $sb_float = 'pull-right'; ?> <?php endif; ?>
<div class="<?php echo $content_span_class; ?> <?php echo $pt_class; ?>"> <div class="bs-docs-sidebar <?php echo $sb_span_class; ?> <?php echo $sb_float; ?> <?php echo $sb_class; ?>">
The $sb_float and $pt_class info doesn’t show up on the front end, so I’m not sure what’s wrong. It’s driving me a little insane staring at this code trying to figure it out, especially considering I’m no PHP expert by any stretch.
Forum: Fixing WordPress
In reply to: CPT conflicting with Page SlugSolved it. Missed the slug for portfolio_is_bad_hierarchical_slug in the functions.php file. I knew it was something quick and easy…
Forum: Fixing WordPress
In reply to: WordPress 3.5 Preview Not WorkingI was just asking if he had found the problem to his issue. It’s not entirely impossible that it could help me. I was not asking for someone to solve my problem, my question was directed towards the thread author about the problem he was experiencing.
And not all bugs have major problems.
Forum: Fixing WordPress
In reply to: WordPress 3.5 Preview Not Working@randyking, were you able to figure out exactly what was causing the issue and whether or not it is theme related or a 3.5 bug? I’m having the same problem, and like you, I’m really hoping this isn’t affecting a lot of themes with the 3.5 upgrade. I’d appreciate if you could share any info you have discovered.
Thanks!