Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • sarsells Friend
    #178312

    Hi
    I am designing a site for a friend at http://www.jakeauerbachfilms.com
    He would like me to put the search box in the top right hand corner, in line with the top nave. I have looked with firebug and the main nav goes right across the whole of the screen. Please could someone tell me if I can do this, and if so, in simple terms how.
    Thanks you very much.

    swissa Friend
    #458083

    <em>@sarsells 326206 wrote:</em><blockquote>Hi
    I am designing a site for a friend at http://www.jakeauerbachfilms.com
    He would like me to put the search box in the top right hand corner, in line with the top nave. I have looked with firebug and the main nav goes right across the whole of the screen. Please could someone tell me if I can do this, and if so, in simple terms how.
    Thanks you very much.</blockquote>

    Hi

    Is this what you want?

    If so you need to make some adjustments in your file templates/ja_t3_blank/css/template.css. Add this code to the bottom of the file…..


    .wrap {background: none;
    }
    #ja-search {bottom: 100px; < play with this number to get how you want-100 is just an idea
    position: absolute;
    right: 0;
    }

    Hope that helps!


    1. Screen-Shot-2012-06-19-at-19.51.19
    sarsells Friend
    #458090

    Thanks a million!!! That sorted it.

    Can you help me with another small problem? I want to add a module to the main body of the home page. I have included the code {loadposition mainbod}
    I cant find the php file to add this position to?

    Thanks again

    Sarah

    swissa Friend
    #458094

    <em>@sarsells 326253 wrote:</em><blockquote>Thanks a million!!! That sorted it.

    Can you help me with another small problem? I want to add a module to the main body of the home page. I have included the code {loadposition mainbod}
    I cant find the php file to add this position to?

    Thanks again

    Sarah</blockquote>

    You put this code into the article! 🙂

    http://docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F

    All the best Sarah!

    sarsells Friend
    #458097

    Thanks, I had already put the code in the article, but I need to add a new user position name to my php file, and I cannot locate the file where all the user positions are defined?

    swissa Friend
    #458099

    Maybe I am not understanding properly or maybe I’m just being dumb (lack of knowledge only thanks).

    Did you follow this?

    <blockquote>To insert a module inside an article, use the {loadposition xx} command, as follows:

    • Create a module and set its position to any value that doesn’t conflict with an existing template position. You can type in the position value instead of selecting it from the drop-down list. For example, use the position myposition.
    • Assign the module to the Menu Items that contain the articles that you want the module to show in. You can also just assign the module to all Menu Items.
    • Edit the articles where you want this module to appear and insert the text {loadposition myposition} in the article at the place where you want the module.

    Note that this only works when the Content – Load Module plugin is enabled. If this plugin is disabled, the text {loadposition myposition} shows unchanged in the article.</blockquote>

    Then you don’t need to use any php (it is not a physical position you are building) and you can add positions (although you don’t I think need to) in the xml file. (yourtemplate/templateDetails.xml)

    Hopefully Sarah that will help you. I hope!! :-[

    sarsells Friend
    #458105

    No, it is silly me…. I am dyslexic, and had not noted that I could just type in the new position name!

    sarsells Friend
    #462003

    I have just run the site http://jakeauerbachfilms W3 validator and it has come up with some error messages, all relating to the module I have added to the main body. I do not know what to do about this, as the errors have been generated automatically
    Here are the errors.
    Please can someone advise. Here are the errors.

    Line 154, Column 4: document type does not allow element “h4” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag
    <h4>
    ✉
    The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>”) inside an inline element (such as “<a>”, “<span>”, or “<font>”).

    Line 160, Column 3: document type does not allow element “p” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag
    <p>Watch this space for the latest news from Jake Auerbach films.</p>
    ✉
    The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>”) inside an inline element (such as “<a>”, “<span>”, or “<font>”).

    Line 161, Column 3: document type does not allow element “p” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag
    <p>The website is now up and running. Please bare with us, whilst the final few…
    ✉
    The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>”) inside an inline element (such as “<a>”, “<span>”, or “<font>”).

    Line 162, Column 3: document type does not allow element “p” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag
    <p>If you would like to see older posts, and the archieve, then please visit ou…
    ✉
    The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>”) inside an inline element (such as “<a>”, “<span>”, or “<font>”).

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 2 voices, and was last updated by  sarsells 12 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum