Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi all, My first message here. After playing with the free version, I quickly decided to buy the pro version. As many have said here: RocketCake is a great piece of software! So far, I've been just playing to start feel at home with how it all works. Here's my (first) question: I want the nav bar items to have a background with rounded corners, when hovered over. This is what I wrote in "additional css": nav ul li a {-webkit-border-radius: 15px; As you can see, I also want them to transition (loose their 'nervousness') Did I make a mistake? Thanks! |
||||
|
Hm, you mean the menu entries in the navigation item? I'm not sure how you got to nav ul li a because there is no ul and no li items, as far as I've seen. But adding something like this should work: (replace the menu_49c9c51c part with the actual id of your menu)
|
||||
|
wrote: Hm, you mean the menu entries in the navigation item? I'm not sure how you got to nav ul li a because there is no ul and no li items, as far as I've seen. But adding something like this should work: (replace the menu_49c9c51c part with the actual id of your menu)
Thanks a lot Niko, I forgot to mention I'm a css newbie. I usually just copy/paste from css examples written by real men... I briefly tried your proposal and it did not work. Don't worry, I'll try again with more time tomorrow. Before this, I tried to get stylized buttons into the menu. That sort of works, but the responsiveness is lost. Thanks again. Some pupils in the back of the classroom just need some more time to get to grips with new stuff... |
||||
|
Yes, it works, do it like this: Right-click on the menu and select "HTML Code...". There you will see in the first line something like
Copy that id (namely that menu_49c9c51c, it will have a differnt number for your menu). Select the menu command "View -> HTML Code of the page -> additional CSS styles" and paste the code .menu_XXXXXXXX_mainMenuEntry { border-radius: 15px; transition: 1.5s; } But instead of that XXXXXXXX, paste that id number of your menu in there. So that the first line looks like .menu_49c9c51c_mainMenuEntry in this case. Then it works. |
||||
|
Thank you for your detailed help! No luck yet... I started a new page, which only contains a container with the menu in it. This is what the code looks like: and this is the result: No rounded corners and no transition effect. I don't see what could be wrong. Do I need to save the page before this works? Bye for now. |
||||
|
You added that into the additional styles for that element. Don't do it. Delete that again. Do it like I wrote: Select the menu command "View -> HTML Code of the page -> additional CSS styles" and paste the code there. |
||||
|
Yes! It's working perfectly now! I should learn to read carefully... Thanks Niko for your patient explaining. Much appreciated. |
|