How Do I Make Structure Theme Full Page?
-
Anyone know how I can make the homepage on my blog into full screen (across).
You’ll notice that where the widgets were (Archive and Meta) is now just empty space as I had to put in a blank text widget to get rid of the afore mentioned widgets. I now want to get the home page going right across the page just like the blog page does. Any help would be appreciated!
I’ve just upgraded to edit the css, but it would appear that is nothing but a rip-off as I am learning a new restriction on what you can edit in the theme css by the hour!
The blog I need help with is: (visible only to logged in users)
-
First off, at wordpress.COM, you do not EDIT the existing CSS. You either completely replace the CSS (not suggested unless you are completely changing everything) or you add CSS that will override the original CSS (recommended). There are no time limits or any limits to what you can change. Anything in the original CSS for the theme you are using can be changed, styles, hidden, etc.
The following hides the top right sidebar and makes the main content area maximum width (960px) on ALL pages. In many themes, you can take the sidebar off on a page by page basis if you want, but on Structure you cannot. The theme designer just did not include that possibility. That was the theme designer’s choice.
#sidebar_right { display: none; } #contentleft { display:none; }In the “image and video width field down below the CSS edit box, change the width to 960px as the maximum.
A few notes on CSS in case you are not clear on them. CSS is a styling document and CSS is theme specific. Some themes have very rich and robust CSS that give you lots of options and some do not.
CSS cannot be used to change functionality, only styling and placement basically of the existing elements in the XHTML. You cannot add HTML, javascript, flash, etc., to CSS.
The flash code you now have in the right sidebar is not allowed as a direct embed, but most flash can be used with the gigya shortcode.
-
One thought. If you just want to remove the sidebar from the home page, go to pages > pages (where the list of pages you have created are) and hover your mouse over the home page title and look down in the very bottom bar of the browser window where you will see the internal link information for that page. Look at the very end of that URL and you will see something like “id=23”. Post that number back here and let me see if I can hide the sidebar on the home page ONLY using the page ID.
-
Gaaahhhh! I messe up on the code. Don’t use what is above, use this:
#sidebar_right { display: none; } #contentleft { width:960px; }Copy and paste bit me.
-
Thanks for your reply mate. Gonna do that now, I’ll let you know shortly.
Whilst I have you on here… Is it possible to add a flash music player in the text widget? I have the html code (which I know is good as I have it working in blogger) but when I add it in wordpress, all i get is the code I added instead of the music player.
-
Yes it is using the gigya shortcode. See this at Panos’ blog: http://wpbtips.wordpress.com/category/audio-player/ .
-
Couldn’t see any id and numbers (I’m using Opera btw).
The nearest I could get to that was ‘action=4’
-
Thanks so much for that link! Gonna get on that tomorrow now though! I’m all pressed out! ha
-
-
There is no way to do this with CSS, BUT open your home page in the page editor and in the “attributes” module, select “full-width” from the page template pulldown and update the page.
Don’t know why that did not occur to me in the first place.
-
-
- The topic ‘How Do I Make Structure Theme Full Page?’ is closed to new replies.