0
Welcome Guest! Login
0 items Join Now

Need help customising a Rocket Template - Modulus

    • oputa's Avatar
    • oputa
    • Newbie
    • Posts: 9
    • Thanks: 0

    Need help customising a Rocket Template - Modulus

    Posted 12 years 11 months ago
    • Hi Guys,
      I need help modifying the Modulus template and i would really appreciate your help. I've attached three images files below to give a better idea of what i'm trying to do.

      If you look at the image titled "hompage", you'll see the menu that i want to customise at the top of the page.The big white thing with red writing covering most of the page is a Firebug panel.

      I want to replace the links in the main menu with images. So instead of having "home" "number2" "video" etc, i would have an image link representing each word.

      Now, i used Firebug to locate what i thought was the relevant CSS for the "home" link and created a new CSS statement below it, in what i think is the relevant style sheet but no change occurred.

      In the image titled "homepage" i've taken a screenshot of both the html and css sides of the firebug panel. Also, in the image titled "html" i've zoomed so you can see just the html panel a bit better, and also zoomed into the CSS panel in the image titled "CSS".

      Could someone please tell me the CSS to write and in which CSS file in needs to be written in .Your help will be most appreciated. Thank you :)
      This image is hidden for guests.
      Please log in or register to see it.
      This image is hidden for guests.
      Please log in or register to see it.
      This image is hidden for guests.
      Please log in or register to see it.
    • Last Edit: 12 years 11 months ago by oputa.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Need help customising a Rocket Template - Modulus

    Posted 12 years 11 months ago
    • oputa's Avatar
    • oputa
    • Newbie
    • Posts: 9
    • Thanks: 0

    Re: Need help customising a Rocket Template - Modulus

    Posted 12 years 11 months ago
    • Thanks for the reply. The link to my home page is www.oputaossai.com/
      I'm not quite sure what you mean by screenshots. I thought the images i pasted onto the word
      documents were screenshots. Or do you mean i should have them in a png or jpg format rather than .dox file?
    • oputa's Avatar
    • oputa
    • Newbie
    • Posts: 9
    • Thanks: 0

    Re: Need help customising a Rocket Template - Modulus

    Posted 12 years 11 months ago
    • Ok, i've edit the post and used JPEG images instead.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Need help customising a Rocket Template - Modulus

    Posted 12 years 11 months ago
    • did you check my link?
    • oputa's Avatar
    • oputa
    • Newbie
    • Posts: 9
    • Thanks: 0

    Re: Need help customising a Rocket Template - Modulus

    Posted 12 years 11 months ago
    • The link is telling me that i am not authorised to read that forum.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Need help customising a Rocket Template - Modulus

    Posted 12 years 11 months ago
    • well you need to have an active membership to view that ...
      There are different ways to achieve that.

      1. I think this is the main thing that is confusing you Doug:
      The option in "link type options" has no effect when you are using RokNav.
      It wil be ignored. Instead of that look into "Fusion Menu Options" > "Menu image"
      That is the one Roknav will use.

      2. personally I don't use that option. That image is added as an <img>-tag.
      Without an proper alt tag that is rather useless for SEO. (tho there is away around that:
      www.rockettheme.com/forum/index.php?f=39..._v=viewtopic#p739214 )

      But this option is also not really that great because you wont have a "hover"-change.
      So I vote for a CSS only solution using a standard image-replacement technique.

      When you look the code of the menu you will see that each item has a unique class.
      Just as an example I take that "Events Calendar" on your site.
      The unique number is ".item314"

      Now I build my specific css-rule for this:

      ul.menutop li.item314 > .item span {
      background: url( www.bhssa.ca/images/bookface.png ) no-repeat 0 10px;
      width: 210px;
      text-indent: -9999px;
      }

      When you add this to your template.css and clear your cache the "Events Calendar"-item will be replaced with your (quite big) Facebook button.

      So I suggest to add a new menu-item of the type "external link" and do the same for that what I did for "Events Calendar".

      instead of the automatically created unique class you can add also a custom class via
      "Custom CSS Class" that you find in the "Fusion Menu Options". You could use a class like "myfacebookbutton" and the css would look like this

      ul.menutop li.myfacebookbutton > .item span {
      background: url( www.bhssa.ca/images/bookface.png ) no-repeat 0 10px;
      width: 210px;
      text-indent: -9999px;
      }

      Sadly this wont work when you are using the split-menu-option ...

Time to create page: 0.054 seconds