• Saved index.html to root folder. Opened it and changed text to check something.
    Deleted it after!
    Added an extra css file in D:\xampp\htdocs\website\wp-content\themes\onetone\css

    When customizing the front end “Section 6 – About ” i added the following code:

    <link rel="stylesheet" type="text/css" href="https://localhost/website/wp-content/themes/onetone/css/socialmedia.css" />
      
    	 
    <div class="footer-social-icons">
        <h4 class="_14">ACOMPANHE-NOS</h4>
        <ul class="social-icons">
            <li><a href="https://" target="_blank" class="social-icon"> <i class="fa fa-facebook"></i></a></li>
            <li><a href="https://" target="_blank" class="social-icon"> <i class="fa fa-linkedin"></i></a></li> 
        </ul>
    </div>
    	

    Theme is no longer displaying ok in mobile and tablet!
    Is it because i saved the index file?

    What’s the solution?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @johnatanasoff,

    Can you please try removing the
    https://localhost/website
    from the a href, and replace it with a . (dot/period)?

    What the localhost link does is checking for the files on your phone/tablet and not on your XAMPP installation.

    Thread Starter johnatanasoff

    (@johnatanasoff)

    Hello @cspiliakos

    Thanks a lot for helping me, as i am desperate to get this solved asap!

    https://prntscr.com/hlml95 – What i mean!

    https://prntscr.com/hlmlv0 – How it displays in Chrome and IE 11

    https://prntscr.com/hlmlzy – How it displays in Tor browser and mobile/tablet.

    Before i did what i said, everything was OK everywhere!

    Ok, let’s start from the beginning:

    <link rel="stylesheet" type="text/css" href="https://localhost/website/wp-content/themes/onetone/css/socialmedia.css" />

    Will try to call a web server on the client’s machine (desktop/laptop/tablet/phone). As your web server, in this case XAMPP, is on your pc, your pc will be able to view the css file, but not your tablet/phone. Try accessing the site using a different computer on your network and see what happens, does the website display properly or does it not?

    Also, have a look here: Theme Development as I’m not really familiar with Theme development.

    • This reply was modified 7 years, 3 months ago by cspiliakos.

    Can you post a link to your actual site instead of screenshots?

    Thread Starter johnatanasoff

    (@johnatanasoff)

    @cspiliakos

    I had eye surgery last days so i am still recovering. That’s why the delayed message!

    I should have mentioned but i am working on xampp and then uploading to Cpanel via FTP server.

    The print screens i sent you were from the web and as you can see the website does not display properly in Tor browser and mobile/tablet.

    Here’s the URL: https://testing.alfasteel.pt/

    See how it displays ok in Chrome or IE but not on Tor/Mobile/Tablet.

    Thread Starter johnatanasoff

    (@johnatanasoff)

    @stephencottontail

    https://testing.alfasteel.pt/

    See how it displays ok in Chrome or IE but not on Tor/Mobile/Tablet.

    Hi @johnatanasoff,

    I hope all went well with the surgery! Do you use Duplicator for transferring the site? Also, does it work ok on Xampp? If so, can you try transferring everything with duplicator, turn off xampp, and then see if it’s working remotely? I’m afraid that it may be a silly transferring mistake, not sure why, but I have that weird feeling.

    Thanks!

    Thread Starter johnatanasoff

    (@johnatanasoff)

    @cspiliakos

    I started a fresh theme already as i had 2 problems i could not fix and will test duplicator! Hope it will work well. I am also going to be more careful, and backup more often!

    Problem (1):
    https://www.ads-software.com/support/topic/changeset_post_save_failure-when-i-publish-logo-2/

    Problem (2): When i try to insert image in “Media Library” i get error:
    ” Could not insert post into the database”

    WP and the forums are great, but when you get stuck with some serious problem like bellow one, and you get no response; there’s nothing you can do unless you’re a very good developer already. I would prefer a million times to pay for better/faster support, but it’s all forums based even when you pay, so not good enough for me!

    With all this i came to the conclusion i need full control over what i do, and prefer to code from scratch. If a problem appears then it will be easier for me to fix it and i’ve coded it myself.

    @stephencottontail

    What’s your opinion? Is there a way for me to pay monthly and get faster support that takes ownership and always follows up until a solution comes?

    Your best bet would be to post at https://jobs.wordpress.net or possibly a local equivalent to Craigslist or you might even consider asking friends and family if they know anyone local.

    puts on moderator hat

    I’m going to leave this thread open for now, but we don’t allow freelancers to come here and solicit clients from themselves, so if that happens, the thread will be closed and said freelancers warned.

    Thread Starter johnatanasoff

    (@johnatanasoff)

    @stephencottontail

    https://jobs.wordpress.net can work out. Thanks! ??

    Would be great if www.ads-software.com owners considered a platinum kind of package where a Tech Support team on a 24/7 basis would provide support to adherents. I would adhere!

    Thread Starter johnatanasoff

    (@johnatanasoff)

    @cspiliakos

    Tried Duplicator in every possible way and it doesn’t work even though all passes are green!

    I know you’re busy but if you could help with duplicator would be cool; otherwise i’l just do it manually; carefully!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Saved index.html to root folder. Deleted it. No longer displaying ok in mobile’ is closed to new replies.