lina_trinch: (birdie)
𝔦𝔱'𝔰-π”ž π”ͺ𝔒 🌠 ([personal profile] lina_trinch) wrote in [community profile] killthecake2022-07-01 03:02 pm

[39] FANCY Navigation





Vertical Code:



Horizontal Code:



Code to make it ✨FANCY✨ (optional):






❖ Before we get started, just a disclaimer that this code was released a month early over on the Patreon to my subscribers. c:

❖ Now, as you can see, there is a Vertical and Horizontal version of this code. Choose whichever you want. The "fancy" code comes into play if you want the images to remain in place while a user scrolls through your journal. This will ONLY work on your journal. It will not work when a user views the entry directly. But please note, the fancy code is not necessary. The original code will work just fine without it.

❖ Make sure Disable Auto-Formatting is checked when you copy/paste the code into your post.

❖ If you don't want to bother with the fancy-ing, feel free to skip down to the Ctrl+F & Replace section. If you do want to bother, keep reading.

❖ NEW: Please keep in mind that any image you decide to use for the "fancy" code needs to be the size of a desktop wallpaper. If it's small (like 1000x1000 or 100x100) then the image will stretch.

❖ After you finish installing the code in an entry, head over to the Custom CSS of your journal layout. At the bottom of your layout's code, add the code to make it ✨FANCY✨ from above. Your custom layout will be just fine.

❖ In your entry, you'll see things like class="bg1". You'll want to use the same image that you put in this tag into the .bg1 portion of the layout's code. Then you do the same with all the others.

❖ Additional note: You can change the classes if you use the same image multiple times if you want to condense code (but if you're not sure how that works, you can ask me and I'll try to do it for you).




Ctrl+F & Replace:

❖ IMAGE_URL - image urls in both the html and css
❖ Link - link text
❖ URL - link urls




#333 navigation border & credit
#fff navigation background & links
#000 link text shadow
#ddd image placeholder & link background


wildefae: (Default)

[personal profile] wildefae 2023-09-29 03:38 am (UTC)(link)
I literally had to stare at this several times to understand that it's just the scrolling and the types of images you used that makes it look like the image blocks have their own color filters that are moving over background pictures. WHAT A COOL EFFECT.

Two questions:
1. If one wanted to use two alternating photos for the fancy version -- say, column 1 and column 3 were one picture and column 2 and column 4 were another, if using the vertical version (now that I'm describing this it might need more gridding to make this look coherent but that's the idea, anyway -- sort of like these kind of collages: 1, 2) -- is there a shorter way to indicate that?

For example - could you list the second column's grid areas for the same link? Or do you just have to do them all together?

And 2) Do you have a particular stock site you like more for finding these kind of pics, or just a really good search term? I'm trying to redecorate and I LOVE your rainbow/candy-colored/pastel/etc themes. If it's just "rainbow" I can run with that, but I feel like I find a lot of not-quite-what-I'm-looking-for that way too.
go_loud: (Default)

[personal profile] go_loud 2023-09-29 03:41 am (UTC)(link)
(As I'm looking at this, part of the question I realize I'm asking is that I want the visible image showing to kind of ...have that same effect as the linked collages, where you see further along in the image in each consecutive row, but it's interrupted by the alternating photo doing the same thing. I feel like there should be a way to specify what part of the image is visible with coordinates, probably, but I'm not quiiite advanced enough to know how...)

[Edit: oops! Was logged in as an RP journal. Same person!]
Edited 2023-09-29 03:42 (UTC)
go_loud: (Default)

[personal profile] go_loud 2023-10-03 07:33 pm (UTC)(link)
Hi, sorry I took so long to reply, the last week has been a little crazy.
Yep! That's exactly what I was asking, at least most of it. Thank you, that's way easier for the CSS portion!

The second part, and you allude to it here a little bit, was -- is there a way to force the picture to show where it "should" show up? Because this is hard to describe in words, I drew a little diagram:

a diagram that hopefully makes sense showing two images alternating with each other in the same way the navigation above does

Basically --
a) am I overthinking this entirely and will it do this on its own if I just link the image?
b) if not (as I suspect) is there a way to push the image over on the second, third etc columns to where it would naturally be, using CSS (or HTML, or whatever)?
OR c) do you have to just edit and upload (#=columns) versions of the background, each physically moved over a little...and in that case, what's visible, the center of the image?

I AM SO SORRY I'M SO COMPLICATED.

And oh! That's so easy and I suspect you repeatedly doing that vs me having never done it has just gotten you better results. I'll check out your Github and definitely try playing around with "aesthetic" and "tumblr" -- those DO get you prettier results with things :P (Thanks Tumblr for all the ethereal mood boards!)

You helped out SO much! I hope the secondary question here isn't too baffling!


Edited 2023-10-03 19:34 (UTC)
go_loud: (Default)

[personal profile] go_loud 2023-10-03 11:41 pm (UTC)(link)
I'm sorry! I think I'm probably overthinking or not understanding, and it doesn't make sense to you, because -- as you point out, I haven't actually done it. So I'm possibly not asking the right questions.

Thank you for all your help! I need to narrow down WHAT images I'm using but I'll absolutely link you when I get that put up if I'm even still in need of it!

[Edit: ....in retrospect, I think also it's partly my perfectionism getting in the way. Having the colored boxes for links in the diagram makes it way less helpful. Those aren't at all information-giving, they're just me trying to imitate the grid. The only thing that I'm referring to is the image(s) and what part of it shows up in column 2 vs column 4, etc. But again, don't feel the need to answer any of this, I'll be back with some examples if I still don't get it!]
Edited 2023-10-03 23:45 (UTC)