HOME | DD

Gasara — [07] Code Snippet - Diamond Button Menu

#css #resources #journalcss #journalskin #f2u #profilecss
Published: 2018-07-01 16:04:23 +0000 UTC; Views: 40919; Favourites: 448; Downloads: 613
Redirect to original
Description ABOUT

A fancy diamond button menu for use in journal skins or as a profile page menu. 

 LIVE PREVIEW

------------------------------------

FEATURES
 
Width: Fixed*
Customizable: Yes**
Tested in IE, Chrome & Firefox

* The width of this code has been set to ensure the best compatibility with mobile devices when used on profile pages. It can, course, be altered if you prefer.
** Works best with either 3 or 5 links / one line of link text

------------------------------------

NOTES

i. Custom journal skins can only be used by core members
ii. This snippet is completely free to use
iii. You may edit this snippet as much as you like

------------------------------------

INSTALLATION

- Download the zip file from the download link on the right of this page.
- Extract the contents of the file.
- Follow the instructions inside.
- More information can be found via the help links below.

------------------------------------

SUPPORT

If you like my work, please consider supporting me on  Ko-fi




FAQ12 - How do I add a custom menu?
FAQ22 - How do I install a journal skin?
FAQ23 - How do I change my journal skin?
FAQ24 - How do I edit my journal skin?

Basic HTML Formatting Guide
Basic CSS Style Guide
Related content
Comments: 20

ecwashere [2023-09-24 01:08:07 +0000 UTC]

👍: 0 ⏩: 0

Kanobuun [2020-03-02 03:01:08 +0000 UTC]

is there any way to have an image in those squares? imsorry if it sounds dumb but im just,, r e a ll y new to page coding,,

👍: 0 ⏩: 1

Evilx3mpire In reply to Kanobuun [2021-01-20 00:46:05 +0000 UTC]

👍: 1 ⏩: 0

Emayax [2019-02-09 16:13:36 +0000 UTC]

Any chance you could help me? My menu looks like this but I want it to look like yours, here's the image and code
Image:


Code:
Devious Journal Draft//HEADER

Gallery


My OCs


Commissions


To-Do List


Instagram

//CSS BODY
/*
[07] Code Snippet - Diamond Button Menu by Gasara / 2018
https://www.deviantart.com/gasara
*/
/* ------------- Clean Up ------------- */
* { background:transparent; border:none; margin:0px; padding:0px; }
body { margin: 60px auto 0px auto; text-align:center; width: 380px; }
.content { position:relative; top:20px; z-index:99; }
.journaltop img, .list, .journalbottom, .journaltop, a.external:after { display:none; }
/* ---------- Diamond Buttons ---------- */
.diamond-button {
   background:#transparent;
color:#ffffff;
display:inlin

👍: 0 ⏩: 0

guilhermecomputacaod [2019-01-12 02:40:53 +0000 UTC]

cool

👍: 0 ⏩: 0

numinox [2018-12-06 03:03:45 +0000 UTC]

Hi Gasara , Thank you for creating these ^^ They are awesome

I've tried using them and I've followed your instructions, at least I'm pretty sure I have, but I've had a few problems

sta.sh/2zqx91k200v?edit=1

sta.sh/0f95w2fyiva


👍: 0 ⏩: 1

Moya-Bean In reply to numinox [2018-12-21 00:11:27 +0000 UTC]

Hey! I'm not Gasara, but I'm hoping I can help!


I'm guessing the problem is that the link doesn't fit in the diamond? It's because you put the link in the wrong spot.


Basically, where it says "Link#1", "Link#2" etc, is where you put the name of your link. Call it 'Commissions', or something similar. Right next to it, where you see < a href="" > is where you paste the actual link. Put it in between the quotation marks.


Hope that helped!

👍: 0 ⏩: 2

numinox In reply to Moya-Bean [2018-12-21 08:47:02 +0000 UTC]

Hi... it's me again lol

Sorry to bother you but I'm not sure if you can help but where it said LINK#1 etc for example I put the name of the link there like you said and where it has "" I put the link inside there and it works, it definitely works but if you click on it it takes me to another page... I'm not sure if the diamond button menu is broken or I'm just and idiot but... yeah. Like I said not sure if you can help but I uploaded the coding to show you that from what I can interpret everthing seems to be in order. But if you click on my profile page and click one the link your self it takes you do a different link


👍: 0 ⏩: 1

Moya-Bean In reply to numinox [2018-12-26 13:45:55 +0000 UTC]

Sorry about the delayed response! This is my secondary account, and I just sometimes... forget to check it!


I see what you mean about the code. You seem to have the right links with the right titles in the screenshot, but on your page, the Comm Info link is empty, while all the other links seem jumbled.


It took me a second, but it's because the link goes first, and THEN the title. If you notice, you have an empty < a href = "" > before 'Comm Info' in the screenshot. That's where the link for your commissions would go, instead of after the title. Similarly for the others. The spot where your commissions link is posted is the spot for the second button's link, which is why TOC leads to that page instead.



👍: 0 ⏩: 0

numinox In reply to Moya-Bean [2018-12-21 07:45:10 +0000 UTC]

omgosh now I feel silly thank you so much YES that did help. A lot. I was extremely tired when I did that. When I read your comment I realised immediately what I did without even looking at it again. Total facepalm moment haha

Thank you so much for taking the time to explain that to a computer illiterate pudding like myself haha

👍: 0 ⏩: 0

Reveragon [2018-11-10 20:48:09 +0000 UTC]

Is there a way to make the diamonds smaller without the text going buggy? I've been researching and editing quite a lot but I can't seem to figure it out :'D

👍: 0 ⏩: 0

TheHoneySparkle [2018-08-29 13:36:00 +0000 UTC]

Using! Thank you for the code!

👍: 0 ⏩: 0

pastelaine-art [2018-07-14 14:42:46 +0000 UTC]

omg its quite similar to my profile design <3 I love it!

👍: 0 ⏩: 1

Gasara In reply to pastelaine-art [2018-07-19 06:31:35 +0000 UTC]

Diamond menus are a popular choice nowadays.

👍: 0 ⏩: 1

pastelaine-art In reply to Gasara [2018-07-19 08:57:31 +0000 UTC]

Do you think it's possible to replace the buttons with images instead? I've been trying to figure that out for a very long time

👍: 0 ⏩: 1

Gasara In reply to pastelaine-art [2018-07-19 09:13:15 +0000 UTC]

With this code the diamonds are made from two separate sections using the border property. I would imagine it's possible to add images to each section but it's not something I've really looked into. I'm afraid I can't help you with that one. 

👍: 0 ⏩: 1

pastelaine-art In reply to Gasara [2018-07-19 09:19:58 +0000 UTC]

Ok thank you

👍: 0 ⏩: 0

Manti76 [2018-07-04 12:34:45 +0000 UTC]

I really appreciate your custom designs and allowing everyone to use them for free.  That's very generous of you and your tutorials are always so easy to follow

👍: 0 ⏩: 1

Gasara In reply to Manti76 [2018-07-08 12:36:33 +0000 UTC]

Ah, thanks lovely! It's always a pleasure sharing these things.

👍: 0 ⏩: 1

Manti76 In reply to Gasara [2018-07-14 14:18:42 +0000 UTC]

 

👍: 0 ⏩: 0