We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1343 ☆ A M B ☆
    • 2,213 Posts
    Hello,

    I am trying to convert a template over for use in modx. For the most part I think I got the basics down however I have hit a few issues.

    I have attached the original template and the current conversion of the template.

    My problem is the menu dosn’t look correct. It seams to still carry the link underline and stuff. I know there are 3 css files with the template so I don’t know if thats causing the problems or what.

    Thanks
    AMDbuilder

    You can find the template in question in use here http://control.vbtechservices.com/amdbuilder/

    Once working I will repost the template in proper form for anyone that wants it.
      Patrick | Server Wrangler
      About Me: Website | Tweets |  MODX Hosting
      • 34162
      • 1 Posts
      Your template seems to use the Dropmenu snippet. Configuring its output via CSS is a bit tricky.
      At http://modxcms.com/forums/index.php/topic,3682.0.html is a very well written tutorial on how to do it.
        • 26799
        • 177 Posts
        has your problem been solved? because your navigation looks fine to me, exept the .here class needs style
          • 1343 ☆ A M B ☆
          • 2,213 Posts
          Sorry about the lack of update. I have been a bit busy with work.

          I haven’t had a chance to do any more changes to the template so everything should still exist.

          If you see the example site menu you can see the problem.

          First off the links are links instead of just plain text or however they are styled in the original template.

          Secondly as I switch between the pages the dividing links between links seams messed up.

          It seams as if the menu lost all its css styling. But my coding skills arnt enough to really figure things out. I can get around in code to a degree, but not always the degree I would like..

          Now that I have some free time I will read up on the last persons suggestion and see if I can fix the problem. But more ideas/suggestions are very welcome.

          Thanks
          AMDbuilder
            Patrick | Server Wrangler
            About Me: Website | Tweets |  MODX Hosting
            • 22815
            • 1,097 Posts
            Ah. Could you post a link to the original template so we can compare?
              No, I don't know what OpenGeek's saying half the time either.
              MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
              Forum: Where to post threads about add-ons | Forum Rules
              Like MODx? donate (and/or share your resources)
              Like me? See my Amazon wishlist
              MODx "Most Promising CMS" - so appropriate!
              • 26799
              • 177 Posts
              I’ve copied your stylsheet and pasted it below
              
              body
              {
              	margin: 0;
              	padding: 0;
              	background-color: #FFF;
              	font-family: trebuchet ms, verdana, tahoma, arial;
              	font-size: 75%;
              	line-height: 200%;
              }
              
              img
              {
              	border: 0px;
              }
              
              body > #menu
              {
              	position: fixed;
              }
              
              a:active, a:visited, a:link
              {
              	color: #5E8E3E;
              	text-decoration: underline;
              }
              
              a:hover
              {
              	color: #000000;
              	text-decoration: none;
              }
              
              #menu
              {
              	position: absolute;
              	top: 0;
              	left: 0;
              	width: 200px;
              	height: 100%;
              	overflow: auto;
              	background-color: #555;
              	border-right:1px solid #000;
              }
              
              #menutop
              {
              	width: 200px;
              	height: 200px;
              	border-bottom:1px solid #808080;
              	background-color: #444;
              }
              
              #main
              {
              	width: 540px;
              	margin-left: 200px;
              	padding: 20px;
              }
              
              
              #main h2
              {
              	border-bottom: 1px solid #808080;
              	font-family: arial;
              	font-weight: 100;
              	letter-spacing: 8px;
              	font-size: 200%;
              	text-align: right;
              }
              
              


              you’re explicitly telling you browser to read all innate A:links, A:visited, A:active to have an underline with the selector below
              a:active, a:visited, a:link
              {
              	color: #5E8E3E;
              	text-decoration: underline;
              }
              


              CSS, aka "Cascading Style Sheets" cascades in the sense that it can be overwritten by a style stated further down the line, you can add the following code at the end of you style sheet and it ill fix the issue your having with the underline, by overwriting the previously stated style, but only for <a> under the #menu id selector...

              
              #menu A{
                text-decoration:none;}
              


              Like I said before all you need to do is style the .here selector in your CSS to match the others

              Hope this helps
                • 1343 ☆ A M B ☆
                • 2,213 Posts
                Original template link http://www.oswd.org/design/preview/id/2725

                I included the origninal template as download in original post as well.

                Thanks for the coding stuff. I will check it over and see if I can get things working. in the original form all works well.

                I do have one question tho.. There are 3 CSS files for the original template.. style, menu, and ie. Would this present a problem in modx? I know the andreas 00 template I have been using a bit only has the 1 CSS file.

                (my modx experance is all of about two weeks of light use.. Sorry for any stupid questions)

                Thanks
                AMDbuilder
                  Patrick | Server Wrangler
                  About Me: Website | Tweets |  MODX Hosting
                  • 26799
                  • 177 Posts
                  it shouldn’t present a problem as long as the menu’s sheet is adapted to work with the [[dropMenu]] snippet...

                  if you don’t fully understand CSS you can learn just about everthing you need to know about it at http://www.westciv.com, they are an awesome resource and they produced a pretty good style assist program, it can help you understand CSS.
                    • 1343 ☆ A M B ☆
                    • 2,213 Posts
                    Ah style master! Thanks for the link. I know I reformated a bit back and lost the demo.

                    Learning CSS has been on my todo list for a bit now. This is just one more reason to bump it up.

                    Thanks again!
                    AMDbuilder
                      Patrick | Server Wrangler
                      About Me: Website | Tweets |  MODX Hosting
                      • 26799
                      • 177 Posts
                      you’re most welcome, Though I wish I had time to be more help.