The new My Opera and my designs
Saturday, 22. November 2008, 21:19:22
I also fixed Sleek Shady. This was a simple matter of background positioning. You might also notice that the menu in Sleek Shady makes it integrate better with the new My Opera. Unexpected but convenient. More fixes to other themes are coming up soon. But it's worth a mention that Medusa already works fine without any need for a fix.
Anyway. I'm very pleased with the new changes to My Opera. I find CSS designing a tad more effective with the UI changes. I also feel the new features empower me a bit more in the community. My avatar to the top left now looks like it's part of the new design. And the community is available in my native language, Norwegian too. I almost feel like the new design is streamlined to my needs and preferences. Thank you very much, My Opera developer team!Maybe I'll start making something tomorrow to celebrate the new My Opera.









joyfully2 # 18. December 2008, 09:09
Ok I'm writing to ask a question also. I put a music player on my blog and I need a sticky to keep it at the top of the page. I looked into how to write sticky's and got really confused because I only understand CSS as formatting inside tables and cells.
I was hoping you could give me an assist for writing the CSS necessary for the sticky to put my player on. Or maybe a simple tutorial link. Actually I don't know how to post script on my blog either. I love my player so I'm begging for help.
Many thanks
Joy
drlaunch # 18. December 2008, 10:18
You can't post scripts in your blog. My Opera limits such functionallity in order to insure the safety of visitors and keep the user experience consistent. Of course this limits what kind of services you can add to your blog, but you can still add Flash and offer the same functionality there.
CSS was originally made to keep elements that change the presentation of text out of HTML. But it was also made to limit the use of tables for positioning of blocks of HTML. So there's no wonder you only know how to format text with CSS. I myself only use tables to present things like lists containing data. Tables are mostly obsolete on the web except when you want to display a list of related lines of data, almost like in a spreadsheet.
What triggered me to learn CSS was that it can be used to make custom blog designs. I looked at the CSS source code for my page and found that I can copy CSS to my custom design and change its values in order to change things like the banner and the background. Later on I learned things like CSS positioning, and how to add CSS to HTML elements. A prime source for this information is the W3Schools. I'd suggest starting with the CSS tutorial, then use the search field when ever you need to look up something.
And last but not least, thanks for your comment about my service for the army. But I would have been more pleased to recieve it in the comments for the post itself.
crisitr # 28. March 2009, 15:57
I now wanted to place a sticky post on the sidebar, don't even know if that's possible...
drlaunch # 28. March 2009, 16:21
Adding a sticky to the sidebar is easy as pie.
Add this to your sticky post:
Add this to your account CSS:
.stickypost .editthis, .stickypost .avatar,.stickypost .tagicon,.stickypost .postdate,.stickypost .tags,.stickypost .postinfo,.stickypost .sticky,.stickypost .title{
display : none ;
}
#myblogintro {
position: absolute;
top: 0px;
right: 0px;
width: 240px;
}
#content.blogfront #sidewrap #side {
position: relative;
padding-top: 17em;
}
If your sticky post flows over the other items, increase the 17em value.
crisitr # 28. March 2009, 17:08
And if it's not pushing too much, how can i put the search engine in the menu bar?
drlaunch # 28. March 2009, 17:33
.stickypost .editthis, .stickypost .avatar,.stickypost .tagicon,.stickypost .postdate,.stickypost .tags,.stickypost .postinfo,.stickypost .sticky,.stickypost .title{
display : none ;
}
#myblogintro {
position: absolute;
top: 0px;
right: 0px; /* Edit this to increase the distance from the right edge */
width: 240px;
}
#content.blogfront #sidewrap {
position: relative;
top: -289px; /* Edit this to move the search box */
padding-top: 280px; /* Edit this to move the items below the search box */
}
#content.blogfront #sidewrap #side {
padding-top: 17em; /* Edit this item if your sticky post text flows over the other sidebar items */
}
crisitr # 28. March 2009, 17:44
I don't know if the changes will take a little more to take place or if I have something wrong, because some of the changes I tried didn't work out yet: the header text is not white, the seach bar is not in the menu bar and the sticky post is not on the side bar.
Here is my CSS:
#top h1 {
color: #FFFFFF;
}
#subtitle {
color: #FFFFFF;
.stickypost .editthis, .stickypost .avatar,.stickypost .tagicon,.stickypost .postdate,.stickypost .tags,.stickypost .postinfo,.stickypost .sticky,.stickypost .title{
display : none ;
}
#myblogintro {
position: absolute;
top: 0px;
right: 0px;
width: 240px;
}
#content.blogfront #sidewrap {
position: relative;
top: -289px;
padding-top: 280px;
}
#content.blogfront #sidewrap #side {
padding-top: 17em;
}
Is there something wrong here?
crisitr # 28. March 2009, 20:26
The problem is that the sticky post doesn't appear correctly on the sidebar. It's a video from youtube and when I open the blog the music (from the video) starts but there is a blank space on the sidebar instead of the video.
I've already changed the width of the video to 200px, but the space on the sidebar is still blank
drlaunch # 28. March 2009, 21:32
It's happens because you're using Internet Explorer. Internet Explorer is so horrible at CSS, web standards and security, I'd rather call it a Windows bug than a web browser.
But you can apply a fix for the bug and security hole known as Internet Explorer. It's called Opera. Click the Download the Opera Browser button in my sidebar and follow the instructions.
crisitr # 29. March 2009, 00:10
drlaunch # 29. March 2009, 11:32
Remove the code I gave you and add this instead:
#sidewrap {
margin-top: 195px;
}
#blogsearch {
position: absolute;
top: -247px;
right: 0px;
z-index: 9999;
}
#blogsearch h2 {
display: none;
}
#myblogintro {
position: absolute;
top: 0px;
right: 0px;
width: 240px;
}
Puh!
crisitr # 29. March 2009, 15:36
The sticky post now appears also on the posts, perhaps because the CSS is now missing the following code (I add it again, did I do it right?):
.stickypost .editthis, .stickypost .avatar,.stickypost .tagicon,.stickypost .postdate,.stickypost .tags,.stickypost .postinfo,.stickypost .sticky,.stickypost .title{display : none ;}
Also, the search bar was too high up so, in order to place it in the menu bar, I halfed the width to -120px.
But I still can't see the video from youtube in the sidebar (can hear the music but can't see the video).
Thanks again
drlaunch # 29. March 2009, 15:56
#blogsearch {position: absolute;
top: -30px;
right: 0px;
z-index: 9999;
}
The elements in your sidebar appear correctly here, when I change the #sidewrap part to:
#sidewrap {margin-top: 253px;
}
It seems like there's an error causing the YouTube video not to display in Opera 9.6. I have no idea what's causing it because your flash based hit counter displays just fine. The only solution is to move the video out of the myblogintro div area.
crisitr # 29. March 2009, 17:39
And I'll replace the video by a mp3 player.
You were great, thanks!
drlaunch # 29. March 2009, 18:37
crisitr # 29. March 2009, 19:18
I've tried with myflashfetish mp3 player and it also doesn't work. Do you have any sugestions?
drlaunch # 29. March 2009, 19:57
Although it requires a some work to set it up.