jknetdesign
Forum Replies Created
-
Forum: Themes and Templates
In reply to: TwentyEleven custom page theme, loop, childLet’s say I want to add a custom class like a wider .entry-content on one page. I know I can add a style:
.page-id-5 .entry-content {
max-width: 217px;
padding: 0;
}But I want to do it the right way replace the content in a template with .entry-custom or something and control it through a page-home.php.
Forum: Themes and Templates
In reply to: TwentyEleven custom page theme, loop, childAny one have some knowledge on this topic of custom page templates?
Forum: Plugins
In reply to: Favicon no show at login, does show in dashboardJust to be clear could you paste the entire function you’re suggesting please?
Forum: Plugins
In reply to: Favicon no show at login, does show in dashboardSo do I use two add actions:
function favicon4admin() {
echo ‘<link rel=”Shortcut Icon” type=”image/x-icon” href=”https://www.crhouseinc.com/wp-content/themes/crhouse/images/favicon.ico” />’;
}
add_action( ‘admin_head’, ‘favicon4admin’ );
add_action( ‘login_head’, ‘favicon4admin’ );or just use login_head instead of admin_head?
Is this because of the new WP? because it works on my older sites.
Forum: Themes and Templates
In reply to: Best way to widen TwentyTenI really appreciate your time involved in helping me. I think learning media queries will help this kind of thing.
Forum: Themes and Templates
In reply to: Best way to widen TwentyTenI changed it to this and still does it. You can check it now.
#container {
background-color: #ffffff;
float: right;
margin: 0;
width: 710px;
}Forum: Themes and Templates
In reply to: Best way to widen TwentyTenThe main problem here is that the page scrolls almost by itself when content goes below the fold of the browser.
I’m on Firefox on a Mac. But just realized something. I’m using a mouse that has a horizontal finger scroll so maybe I’m worrying too much. If you make the browser really narrow there’s no horizontal scroll bar but I can still scroll it sideways. If you go here https://2010dev.wordpress.com/ and do the same thing, there’s a horizontal scroll bar.
I had the same problem with this site https://dev.senensky.com/ and I got this reply and it worked:
Your div #content has two margins applied to it, id remove the one from line 73. Also your div #colophon in the footer has a fixed width exceeding the containers width, I’d remove that on line 176 so it’s this…
#access .menu-header, div.menu, #branding, #main, #wrapper {
margin: 0 auto;
width:1156px;
}Forum: Themes and Templates
In reply to: Best way to widen TwentyTenhttps://crhouseinc.com/about-us/team/ Hi again.I don’t know what the problem here is. Maybe it has to do with something positioned absolutely? When a page has a lot of content it get’s a weird position in the browser.
Forum: Themes and Templates
In reply to: Best way to widen TwentyTenRight I’m not talking about editing the core files vs creating a child theme, different topic. My question is, have you created a child theme of twentyeleven? Because I have been creating child of twentyten themes and I’m curious how twentyeleven has worked for you. Because you said it’s been a while since you used twentyten files.
Forum: Themes and Templates
In reply to: Best way to widen TwentyTenYeah same here, but I just started building child themes and they stayed perfect on that last update. Almost all my sites are custom child of twentyten themes. jknetdesign.com I was just curious because I was thinking about creating a child of twentyeleven for my next project.
Forum: Themes and Templates
In reply to: Best way to widen TwentyTenSo do you build child themes? if you do are you saying you use TwentyEleven?
Forum: Themes and Templates
In reply to: Best way to widen TwentyTenThat’s how I did this home page, using the page id, but I want to remove the classes that are under the slide show. I feel like it was bad practice how I absolute positioned the slide show on top of the main container. Do I start with page.php or loop-page.php to make a Home template? Thanks for all your help.
Forum: Themes and Templates
In reply to: Best way to widen TwentyTenOkay, I’ll try that. Also, if I want to make a template for the home page do you know what file I use?
Forum: Themes and Templates
In reply to: Best way to widen TwentyTenIf you shrink the browser and click around the pages and use Firebug, the whole site flys off to the left and sticks there. This is the second time I did this when widening the a child of the twentyten theme. What general rule of thumb am I missing here? If you make the browser really skinny there’s no horizontal scroll like there’s supposed to be.
Forum: Themes and Templates
In reply to: Body scrolls horizontalIt was something in the access div.