JohnnyScience
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Adding gradient image to sides of my websiteAwesome, Thanks marjjec, it seems to now be working fine across all pages.
Forum: Themes and Templates
In reply to: CSS worked on Footer on Home page, but not others?Man now I did something & the footer isnt centered at all any more. It took me like half hour to get it centered before! I hate this.
Forum: Themes and Templates
In reply to: CSS worked on Footer on Home page, but not others?So If I just add these two image URLs to the CSS #body tag, & what would I then want to do, give negative/positive margin to then fan/push them out on the sides of the webpage as they curently are?
Ok I think I understand all of what was in that link lol
So basically if I just rename my current twentyten to twentyten-child & redownload a new twentyten, I should be good to go right?
And then just re-activate the new theme labled twentyten-child?
Is that an easy way of doing this?
bump on child/parent issue.
Thanks.
Ok nice, so I removed all overflow attributes from #main & added min-height: 600px to #container & everything seems to look good right?
And uhh… no I didnt realize that I should be making changes to the child theme… I just have one 2010 theme
So what can I do in order to keep all my work, but change the file so that this becomes child & the 2010 theme has a parent?
Can I just change the file name to 2010_child & redownload a 2010 theme to stick it in there?
Ok, I’d rather do what you’re suggesting.
Where do I want to set the min-height?
As I mentioned, I have #container set to height: 600px
So what are you suggesting I add & to where? Do I need to specify min-height: 600px;
Is min-height a piece of CSS?
There is a height of 600px on the container, but for some reason, it was affecting the checkout.
It seems the scrollbar might be the only way we can get all of the info to display properly without making the default height like 2000px or something.
Are scrollbars “out” these days or something?
Alright I did some switching around.
I left the height of 600px in #container so the site looks “full” & long and spreads to the bottom of the page.
I then added this to #main:
#main {
clear: both;
overflow-x: hidden;
overflow-y: auto;And it seems to render fine – can anyone else verify it looks ok?
Ok so if I completely remove the height of 600px from the #container, it does bring back my checkout working properly, but now the rest of my site has a very small looking height to it?
Should I leave the 600px height in there & just change the overflow from hidden to something else?
Instead of hidden, what should it be?
Check it out & tell me what you think I should do?
And I’m using Dukapress as my checkout system. I like it because its pretty clean & more importantly allows an Alertpay integration, which I couldnt find any where else.
Ok, so right now I obviously have add this for HTML:
<div id=”outerWrap”>
<div id=”innerWrap”>Am I going to want to use the same HTML for editing the header instead? Or something completely different?
If not, exactly what should I be adding to the header.php (And where)
And what should I be adding to the body tag of CSS?
This is the CSS I have added for the index.php
[code]#outerWrap {
width: 1000px;
margin: auto;
background: url(http://visionaryresearchchems.com/wp-content/uploads/2011/01/blueleft.png) repeat-y left;
}
#innerWrap {
width: 1024px;
background: url(http://visionaryresearchchems.com/wp-content/uploads/2011/01/blueright.png) repeat-y right;
}[/code]So will I need to transfer some of this over to the body tag so that the gradient border lays outside of the main column like it is now?
Bump…
I was working with someone from codingforums.com & that was how they suggested to do it. We edited index.php and the way we did it seemed to be the only way it would work.
There doesnt seem to be any body tags inside of index.php:
[code]<div id="outerWrap">
<div id="innerWrap"><?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/get_header(); ?>
<div id="container">
<div id="content" role="main"><?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*/
get_template_part( 'loop', 'index' );
?>
</div><!-- #content -->
</div><!-- #container --><?php get_sidebar(); ?>
<?php get_footer(); ?></div><!--end innerWrap-->
</div><!--end outerWrap-->[/code]Also, we used CSS to add the gradient:
[code]#outerWrap {
width: 1000px;
margin: auto;
background: url(http://visionaryresearchchems.com/wp-content/uploads/2011/01/blueleft.png) repeat-y left;
}
#innerWrap {
width: 1024px;
background: url(http://visionaryresearchchems.com/wp-content/uploads/2011/01/blueright.png) repeat-y right;
}[/code]So what exactly is wrong with the way we did it?
What other PHP file do I edit so this gradient shows on all pages? (Remember, all 2010 files seem to be PHP, not HTML, so I’m not seeing any BODY tags to edit?)
Anyone have any ideas?
Thanks.