css menu and no access to css...

User 629250 Photo


Registered User
50 posts

Hello,

I have a web site provided by a company that uses templates and themes. I do not have the ability to upload files into a directory structure. I can add pictures and create "text blocks" that work much like adding HTML in VSD.

I do have access to the style sheet for the web site. I'm allowed to edit it. Is it possible to add the the css code from the menu creator into a style sheet and reference it in the web page?

I hope this makes sense.

Thank you,
User 187934 Photo


Senior Advisor
20,266 posts

Yup.
Place in the head of the page.

<style type="text/css">
<!--
Style code here
-->
</style>

I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 629250 Photo


Registered User
50 posts

Great.
I'm still not completely clear on how to reference the code.
I usually,,,
1) place the .css code in the css directory.
2) place a reference in the header of the page. <link...>
3) insert html (the file, <link...> and html class all reference menu-menu by default)

From the above direction everything would be in the actual web page itself, right?
How would I reference it?

Thanks,
User 629250 Photo


Registered User
50 posts

Sometimes you just have to jump in. Pasted the code into the header of the page and presto it works.

Thanks Eric!
User 187934 Photo


Senior Advisor
20,266 posts

Sorry I didn't respond sooner. Glad you got it working. Have fun with your new discovery.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.