• Can someone help me bring this, I wannt to move the script marked in red, a little more to the left.
    https://img84.imageshack.us/img84/3273/screenshot002wf.jpg

    <?php get_header(); ?>
    <div id="posts" class="span-15 prepend-1 append-1">
    <?php get_sidebar(); ?>
    <div>
    <script type="text/javascript" src="https://app.ecwid.com/script.js?621196" charset="utf-8"></script>
    <script type="text/javascript"> xProductBrowser("categoriesPerRow=3","views=grid(3,3) list(10)","categoryView=list","searchView=list","style="); </script>
    <noscript>Ju nuk e keni t? instaluar JavaScript n? shfletuesin tuaj. Ju lutem kaloni tek <a href="https://app.ecwid.com/jsp/621196/catalog">Verzioni HTML i faq?s Arena Computers</a></noscript>
    </div>
    
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

Viewing 13 replies - 1 through 13 (of 13 total)
  • I am guessing you’re talking about this script:

    <script type="text/javascript" src="https://app.ecwid.com/script.js?621196" charset="utf-8"></script>
    <script type="text/javascript"> xProductBrowser("categoriesPerRow=3","views=grid(3,3) list(10)","categoryView=list","searchView=list","style="); </script>

    Try adding a div style directly to the script in whichever file you got this code from and add a padding-right or margin-right (try both) or create a div class and modify your styles.css file and add a padding-right or margin-right in there to move it to the left.

    <div style="padding-right:20px;">
    <script type="text/javascript" src="https://app.ecwid.com/script.js?621196" charset="utf-8"></script>
    <script type="text/javascript"> xProductBrowser("categoriesPerRow=3","views=grid(3,3) list(10)","categoryView=list","searchView=list","style="); </script>
    <noscript>Ju nuk e keni t? instaluar JavaScript n? shfletuesin tuaj. Ju lutem kaloni tek <a href="https://app.ecwid.com/jsp/621196/catalog">Verzioni HTML i faq?s Arena Computers</a></noscript>
    </div>

    Replace the 20px with whatever amount required to move it to the left. Hope it works.

    Thread Starter BackY

    (@backy)

    Look at what I get now.. I’m changing the margin-right, for every 50 or something, So I can get it closer and closer, but it imediatly moves over the menu. there’s like a minimum.
    https://img825.imageshack.us/img825/2720/screenshot001zvh.jpg

    Here’s the code Im using. hope it’s right.

    <?php get_header(); ?>
    
    <div id="posts" class="span-15 prepend-1 append-1">
    <?php get_sidebar(); ?>
    <div style="margin-right:50px;">
    <div>
    <script type="text/javascript" src="https://app.ecwid.com/script.js?621196" charset="utf-8"></script>
    <script type="text/javascript"> xProductBrowser("categoriesPerRow=3","views=grid(3,3) list(10)","categoryView=list","searchView=list","style="); </script>
    <noscript>Ju nuk e keni t? instaluar JavaScript n? shfletuesin tuaj. Ju lutem kaloni tek <a href="https://app.ecwid.com/jsp/621196/catalog">Verzioni HTML i faq?s Arena Computers</a></noscript>
    </div>
    </div>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Firstly, you don’t need to add another div, just merely add a style to the div tags already around the script. Secondly, there’s probably some other element between the menu and the script that’s causing it to overlap once you increase the margin too much. Increase your margin in increments of 10px and see how that works. Can you post a link to your website so I can look @ the code?

    Thread Starter BackY

    (@backy)

    sure, here you go;
    https://www.graviteti.com/arena

    Can you please give me datailed instructions if the task that I’m wanting to perform is possible.

    It’s definitely possible, I’ll help you troubleshoot it. First, try this:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    There’s actually a couple of things that could be messing it up. Try that first and I’ll see the result and respond accordingly.

    Thread Starter BackY

    (@backy)

    check the results..
    What should I do to move the script a little closer to the menu !?

    Thread Starter BackY

    (@backy)

    Ok, I think I found it..
    this code:

    <div style="margin-right:-90px;">

    how can I add a margin-left too here!?
    both of them !? I want to expand it a little bit to the right too..
    I put a -90px and it’s great on the right side now. I only need to expand it a little bit on the left too!
    wow, thanks ??

    You can add the margin-left right after, like this:

    <div style=”margin-right:-90px;margin-left:””> <– add your desired margin between ” but remove the ”.

    But, I just checked your website, and the script is loading below the menu, not beside it… check it in Google Chrome.

    Thread Starter BackY

    (@backy)

    It’s running good on mozilla.
    I think I’ve problems running it on IE and other browsers.
    what could the problem be !?
    (tried the trick with bot margin’s, but doesn’t seem to work :/)

    Find all the styles defined for ECWID and change the position to relative instead of static. And for class span-15, take out the float:left. I can’t really seem to figure this out from just looking at your website, I’d need to get a closer look into the code and tweak it a little bit to get it working. If you want, you can hit me up through my blog and I can help you troubleshoot the issue personally — free of charge.

    Thread Starter BackY

    (@backy)

    how can I contact you !?
    I will give you the wp’s admin usr/pw, so You can check it live there.

    thanks a lot for the support!

    Sorry for the late response. If you go on my blog, there is a Contact Us page… you can get in touch with me from there and we’ll communicate further. I don’t think it’s permissible to give out my email on here.

    https://www.futurepocket.com

    Thread Starter BackY

    (@backy)

    I’m finding trouble on sending the e-mail from the contact form :/
    I’m getting
    Could not read CAPTCHA token file. Try again, I tried 10times lol..

    here is my e-mail: [email protected]
    send me a letter so I know it’s you, and I’ll give you my site’s infos there. In mean time, I’ll try the contact form again.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Need a hand with some codes’ is closed to new replies.