Skip navigation.

I Fell from the Moon

Don't worry ma'am. I'm from cyberspace.

The new My Opera and my designs

, , , , , , ,

Some of you might have noticed that my blog design got borked after the latest My Opera update. This was because the community design image files from before the update were deleted. And I used one of them in my design. I fixed it now. But instead of trying to get my old design back, I decided to make my blog design integrate better into My Opera, which already was one of my intentions with the design. The menu specifically looks a bit more like the menus you can see in the community now.

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. :sherlock:

Technology against PovertyFeeling Blue?

Comments

joyfully2 18. December 2008, 09:09

Hi, Congratulations for serving your country. I sounds like it was your duty and you pleasure. Nice Combination of feelings.

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

First of all, you don't use CSS to make sticky posts. You can style your sticky posts, and remove the post heading with CSS, but that's all. In order to make your post sticky, you need to edit the post. Click show advanced options, and tick Show this as a sticky post. Save your post.

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

Thanks for that explanation. I searched all over the web on how to post a sticky post and this was the first place I found the info. Thanks :smile:
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

Heh. You can thank my good search engine rank for that.

Adding a sticky to the sidebar is easy as pie.

Add this to your sticky post:

<div >YOURTEXT</div>


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

Thanks again :smile:
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

Remove the code I gave you from your account CSS and add this instead:

.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

Thanks a bunch :D
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

I guess it just takes a while for the changes to take place because the text in the header is already white and the sticky post is already on the sidebar :smile:
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 :frown:

drlaunch 28. March 2009, 21:32

Oh that. It plays just fine here, although you might want to change the width to 240px.

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

No, I'm using opera. And another thing that's not working is the search bar: it's still in the same place, not in the menu bar. Am I doing something wrong?

drlaunch 29. March 2009, 11:32

Bah. I shouldn't do CSS in the evening. I created new CSS for you from scratch.

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

Thanks for your help, really :D

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 :D

drlaunch 29. March 2009, 15:56

The search box appears correctly in the menu bar here when I change the #blogsearch part to:

#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

Thanks a lot :D It's working now!
And I'll replace the video by a mp3 player.
You were great, thanks!

drlaunch 29. March 2009, 18:37

Heh. Looks awesome! :yes:

crisitr 29. March 2009, 19:18

Thanks :D
I've tried with myflashfetish mp3 player and it also doesn't work. Do you have any sugestions?

drlaunch 29. March 2009, 19:57

How about XSPF Web Music Player?

Although it requires a some work to set it up.

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

Download Opera, the fastest and most secure browser