Hi,
I’m editing some of the CSS in hypershot and I’d like to have the header position to be fixed for the blog page, I try to target it but both the blog and portfolio page share the same class so the class .blog applies to both pages (which I don’t want).
Another odd thing is that the background I set for the blog pages, applies to the portfolio page too, even if I set Portfolio page with a different background (it ignores it).
I tried to target each page by it’s page id by using
#15 for instance but that doesn’t seem to be correct..
Comments
If you mean Single album then it has its own class in
body
:single-album
If you mean albums list then it doesn't has own class.
Targeting pages by id: just look in source. Each page has such class in
body
:postid-1061
. So to make styles for it try something like I advise you to use firebug for work with CSS od Chrome developer toolbar.With regards.
http://www.jamesnikko.com/roxannewentworth/?page_id=34
So my CSS is as follows (and as you suggested):
body.postid-34 #header{
position:fixed;
top:0;
}
but doesn't seem to work.
Any idea why?
Where do you add this CSS cause I don't see any custom CSS in here http://apollo13.eu/docs/beach/#!/appearance_menu_custom_css
If you are adding this in style.css then read this
http://apollo13.eu/docs/beach/#!/advance_menu_use_compressed_js_amp_css
and
http://apollo13.eu/docs/beach/#!/modification_of_theme
With regards.
If you don't want to bother with settings mentioned above then use plugin like this http://wordpress.org/extend/plugins/pc-custom-css/ activate it, and next go to Appearance->Custom CSS. There you can insert your custom CSS. If it won't work be sure to set Permalinks like explained here http://support.apollo13.eu/discussion/comment/3831#Comment_3831
With regards.
Your tone is extremely annoying and I don't expect that from a support team, surely you don't talk like this to your prospective clients, so it's unfair to do so once I purchased it!
Please can you provide a valid code to make css changes to only the blog page. The permalinks change you suggested (which I followed in the documentation when I first installed the theme) makes it buggy because I'm using it as a subwebsite and since it's in a subfolder everytime I try to go to a page it displays a 404 page from my root website..
Now I see why I took you for such user:
-Topic is marked 'Beach please' category but I didn't saw you are using Hypershot.
- You wrote you were editing style.css and now you say you are editing compressed.css
So that is why I am a bit confused. Sorry for this misunderstanding.
You can turn off permalinks and delete custom CSS plugin if you will insert all changes in compressed css or child theme as explained here http://apollo13.eu/docs/hypershot/#!/modification_of_theme
Firstly delete this invalid CSS Next add this custom CSS This should make it work only on blog page. Page Id selector, besides it was written wrong, wouldn't work cause on blog page this class didn't exist. You can check it using Firebug tool or by checking source.
With kindly regards.
Regards