Horse Eden Eventing Game
Horse Eden Eventing Game


Year: 193   Season: Fall   
$: 0
Forecast: Heavy Downpours, Flood Warning
Forecast:
Fri 11:00am  
Stables Online:  104 
Chatbox
Mythological
10:51:57 Crowley
Sorry Rain
Glacier Bay Cove
10:50:55 Arctic Katz
Bad day, Kelan?
Rain Plains
10:50:21 Kelan/Rain
Today can go stuck an egg
Glacier Bay Cove
10:45:53 Arctic Katz
Adding mammograms to the list of things that I REALLY hate
Mythological
10:44:47 Crowley
Oooh cool
ShiningStar Stables
10:43:41 Chey / Star
Hiya Myth 👋

Echo Creek made that
Mythological
10:42:29 Crowley
Who made Monody's art?
Mythological
10:41:01 Crowley
Hi Chey
ShiningStar Stables
10:32:52 Chey / Star
I just recently got art for these two and I love both pieces!
-HEE Click-
-HEE Click-
Rising Stars Stable
10:07:49 Willow ~ AA Breeder
*know
Rising Stars Stable
10:07:42 Willow ~ AA Breeder
Green
I now, it's insane. I cleaned the whole house last week
Greenheart Stables
10:05:01 Green|Gren|Grenlin
Its crazy what a sporadic moment of motivation can get done
The Painted Pantheon
10:03:53 Zee
-HEE Click-
If my girl has a bad week 4, I am gonna cry Q.Q I know how you feel
Rising Stars Stable
09:57:43 Willow ~ AA Breeder
-HEE Click-
So nerves for her week 4
pandemoniu_m
09:56:55 pheezy
ugh i need another laptop so i can open my own shop. i learned all the coding on mobile and thats what my palette was made on, but theres some things i can't view on mobile like dropdowns and that so i wouldnt try making anything for anyone else yet lol
Rising Stars Stable
09:55:32 Willow ~ AA Breeder
Okay, we have city people outback right now trimming around power lines
Mythological
09:54:21 Crowley
Not bad. You?
God is Mighty Stable
09:51:40 Willow ~ KNN Breeder
how are you doing?
Mythological
09:49:05 Crowley
Hey Willow
God is Mighty Stable
09:48:08 Willow ~ KNN Breeder
Good morning everyone

You must be a registered member for more
than 1 day before you can use our chatbox.



Rules   Hide
You are in: Main Chat
View Sales Chat
Quests
Horse Eden Eventing Game
Chatbox
Mythological
10:51:57 Crowley
Sorry Rain
Glacier Bay Cove
10:50:55 Arctic Katz
Bad day, Kelan?
Rain Plains
10:50:21 Kelan/Rain
Today can go stuck an egg
Glacier Bay Cove
10:45:53 Arctic Katz
Adding mammograms to the list of things that I REALLY hate
Mythological
10:44:47 Crowley
Oooh cool
ShiningStar Stables
10:43:41 Chey / Star
Hiya Myth 👋

Echo Creek made that
Mythological
10:42:29 Crowley
Who made Monody's art?
Mythological
10:41:01 Crowley
Hi Chey
ShiningStar Stables
10:32:52 Chey / Star
I just recently got art for these two and I love both pieces!
-HEE Click-
-HEE Click-
Rising Stars Stable
10:07:49 Willow ~ AA Breeder
*know
Rising Stars Stable
10:07:42 Willow ~ AA Breeder
Green
I now, it's insane. I cleaned the whole house last week
Greenheart Stables
10:05:01 Green|Gren|Grenlin
Its crazy what a sporadic moment of motivation can get done
The Painted Pantheon
10:03:53 Zee
-HEE Click-
If my girl has a bad week 4, I am gonna cry Q.Q I know how you feel
Rising Stars Stable
09:57:43 Willow ~ AA Breeder
-HEE Click-
So nerves for her week 4
pandemoniu_m
09:56:55 pheezy
ugh i need another laptop so i can open my own shop. i learned all the coding on mobile and thats what my palette was made on, but theres some things i can't view on mobile like dropdowns and that so i wouldnt try making anything for anyone else yet lol
Rising Stars Stable
09:55:32 Willow ~ AA Breeder
Okay, we have city people outback right now trimming around power lines
Mythological
09:54:21 Crowley
Not bad. You?
God is Mighty Stable
09:51:40 Willow ~ KNN Breeder
how are you doing?
Mythological
09:49:05 Crowley
Hey Willow
God is Mighty Stable
09:48:08 Willow ~ KNN Breeder
Good morning everyone

You must be a registered member for more
than 1 day before you can use our chatbox.






Refresh


Forums

→ Horse Eden is a fun game! Sign Up Now!

My Subscriptions
My Bookmarks
My Topics
Latest Topics
Following

Forums > Member Help > Guides
   1    2    3 

Den's CSS Guide: Overlapping images + CSS essentials July 19, 2020 04:56 PM


Cherry River Elites
 
Posts: 1000
#742022
Give Award
Thanks so much!
But I have a question. I'm trying to get rid of the header so it's just my dots, but it won't let me remove the default header. How do I do this?
Den's CSS Guide: Overlapping images + CSS essentials July 19, 2020 05:01 PM

Rocky Creek Ranch
 
Posts: 1656
#742024
Give Award
Try adding this at the bottom of your code :
.gameheader {
background: none;
border: 0 !important;
}
Den's CSS Guide: Overlapping images + CSS essentials July 19, 2020 05:12 PM


Cherry River Elites
 
Posts: 1000
#742026
Give Award
...
That worked perfectly, thank you so much!
I'm in the company of geniuses O.O
Den's CSS Guide: Overlapping images + CSS essentials August 5, 2020 12:10 AM


Ryshadium RIDs
 
Posts: 653
#753267
Give Award

Thank you so much for this! I have a question. I am trying to get my header to change when I hover over it. I would like the secondary header (the one that shows when hovered) to be on top of the nav bar like in your tutorial. So I would like to switch from "Horse Eden Eventing" to "Ryshadium RIDs" in the images below. They work indivually, but I can't get the hover figured out. Could you help me, please?

Here are the images:

http://u.cubeupload.com/InkSpren/Screenshot371.png

http://u.cubeupload.com/InkSpren/Screenshot372.png

Here is the code I'm using for the first:

.gameheader {
background:none;
border-width: 0px !important;
}

.gameheader div[style]:first-child {
background-image: url(http://u.cubeupload.com/InkSpren/6aaRyshadiumHEEPaletteH.png);
background-size: 858px;
background-repeat: no-repeat;

height: 450px !important;
position: relative;
margin-bottom: -200px;
z-index: 100000001;

pointer-events: none;
}

And here is the code for the second image:

.gameheader {
background:none;
border-width: 0px !important;
}

.gameheader div[style]:first-child {
background-image: url(http://u.cubeupload.com/InkSpren/cb9RyshadiumUsernamePal.png);
background-size: 858px;
background-repeat: no-repeat;

height: 450px !important;
position: relative;
margin-bottom: -200px;
z-index: 100000001;

pointer-events: none;
}

Thank you for your time!


Edited at August 5, 2020 12:14 AM by Ryshadium RIDs
Den's CSS Guide: Overlapping images + CSS essentials August 6, 2020 06:48 AM

Former Stable
 
Posts: 0
#754232
Give Award

Ryshadium RIDs said:

Thank you so much for this! I have a question. I am trying to get my header to change when I hover over it. I would like the secondary header (the one that shows when hovered) to be on top of the nav bar like in your tutorial. So I would like to switch from "Horse Eden Eventing" to "Ryshadium RIDs" in the images below. They work indivually, but I can't get the hover figured out. Could you help me, please?

Here are the images:

http://u.cubeupload.com/InkSpren/Screenshot371.png

http://u.cubeupload.com/InkSpren/Screenshot372.png

Here is the code I'm using for the first:

.gameheader {
background:none;
border-width: 0px !important;
}

.gameheader div[style]:first-child {
background-image: url(http://u.cubeupload.com/InkSpren/6aaRyshadiumHEEPaletteH.png);
background-size: 858px;
background-repeat: no-repeat;

height: 450px !important;
position: relative;
margin-bottom: -200px;
z-index: 100000001;

pointer-events: none;
}

And here is the code for the second image:

.gameheader {
background:none;
border-width: 0px !important;
}

.gameheader div[style]:first-child {
background-image: url(http://u.cubeupload.com/InkSpren/cb9RyshadiumUsernamePal.png);
background-size: 858px;
background-repeat: no-repeat;

height: 450px !important;
position: relative;
margin-bottom: -200px;
z-index: 100000001;

pointer-events: none;
}

Thank you for your time!



I'd ask Dark! (The unknown) about this, Ink!
Den's CSS Guide: Overlapping images + CSS essentials August 6, 2020 07:30 AM

Former Stable
 
Posts: 0
#754240
Give Award

Try the following:

.gameheader {
background:none;
border-width: 0px !important;
}

.gameheader div[style]:first-child {
background-image: url(http://u.cubeupload.com/InkSpren/6aaRyshadiumHEEPaletteH.png);
background-size: 858px;
background-repeat: no-repeat;

height: 450px !important;
position: relative;
margin-bottom: -200px;
z-index: 100000001;

pointer-events: none;
}

.gameheader:hover div[style]:first-child {
background-image: url(http://u.cubeupload.com/InkSpren/cb9RyshadiumUsernamePal.png);
}

I've bolded the part that's added to the code for your first image. Normally, to add special styling for an element when you hover over the header, you'd append :hover to the selector name (e.g. .gameheader div[style]:first-child:hover). However, since .gameheader div[style]:first-child has pointer-events set to none (so that people can still click on links and such that are beneath the header), this also prevents the hovering action from being detected. So instead, you can specify that you want to change the style for div[style]:first-child when .gameheader is hovered over (as shown in the bolded code above).


Edited at August 6, 2020 07:31 AM by Dense Moors
Den's CSS Guide: Overlapping images + CSS essentials August 6, 2020 05:13 PM


Ryshadium RIDs
 
Posts: 653
#754540
Give Award

Thank you, Dense! I suspected it had something to do with :hover, but I couldn't figure out where to put the darn thing.

Thanks to you too, Marauder.


Edited at August 6, 2020 05:14 PM by Ryshadium RIDs

Forums > Member Help > Guides
   1    2    3 

Refresh