π¦π±'π°-π πͺπ’ π (
lina_trinch) wrote in
killthecake2022-07-01 03:02 pm
Entry tags:
[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). β 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 |

no subject
I commented out your html for all the images, added a couple links, removed the background of the first div and added it back in by creating a new class for it and putting the css, in the format you have it for the fancy stuff, for that class in the custom journal layout. The changed parts look like this:
Currently it looks like this. It's supposed to be the image of a face in profile, and I can tell whatever images I try to put there do get put there, just... changed, for some reason. The version I'm using is the vertical 500x500 one, and my background image is 500px wide and 571px high, but I tried trimming my background image to 500x500 and now it seems like even the original image is even more zoomed in. I'm pretty amused by this because it means I'm still not sure whether the size of the background images I'm using is the issue.
No worries if figuring this out would take too long, I'm just not sure what to google to try and figure out what I'm not understanding about what I'm doing. It's not essential that it looks fancy anyway, I got it working without the fancy stuff, but on the off chance there's a simple solution for this I figured I'd ask. Thanks for the navigation page theme, it's cool!
no subject
After a bit of tinkering around, I've discovered that your problem is because of the image size but probably not for the reasons you think. When applying fixed to a background, that means the image is fixed relative to the screen instead of the navigation/entry. Add that with the center/cover bit, and the image will stretch to the size of your screen like a wallpaper would. I tried removing the center/cover, but that just caused the image to repeat. Adding in no-repeat just removed most of the image.
Sadly, the only fixes I can determine is to use a wallpaper sized image or just go with the "non-fancy" version. I apologize for not catching this sooner and all the headache it caused for you. I'm going to add a note to the instructions so this doesn't happen again.
Sorry! If I figure out anything else, I'll let you know!
no subject
no subject