• Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Disable Parent Category Link Prestashop

    I see now that that anchor tag has it's own classname, so try this in your CSS: .sf-with-ul { pointer-events: none }
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Disable Parent Category Link Prestashop

    If you have access to the global.css file, then drop the CSS option in there somewhere.
  • Member Avatar for gentlemedia
    gentlemedia

    Marked Solved Status for localStorage returns 'undefined' in deleted values in input and textarea

    I have a form where I save the data in a cookie with localStorage. This all works fine, but If clear (just deleting with backspace) the value of an input …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in localStorage returns 'undefined' in deleted values in input and textarea

    It's solved. Not sure what I was thinking by using `||` instead of just the`,` to combine them. $('.stored').change(function() { localStorage[$(this).attr('name')] = $(this).val(), $(this).find('option:selected').val(); });
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Disable Parent Category Link Prestashop

    If you choose option 1 then this will go in a CSS file and if you choose the second option this into a JS file. I had a look and …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in localStorage returns 'undefined' in deleted values in input and textarea

    I've kind of fixed it by not combining the input/textarea and select in one `.change()` function. I keep them now seperate like this with the `.stored` class only on the …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Disable Parent Category Link Prestashop

    Hy there! I have the following thing that I need to solve: In the Menu I have the Parrent Category Name and inside are 7 categories for food.... If I …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Disable Parent Category Link Prestashop

    CSS option: .sfHover > a:first-child { pointer-events: none } jQuery option: $('.sfHover a').first().click(function(e) { e.preventDefault() }); The CSS option will only work in browsers that supports the pointer-events property, but …
  • Member Avatar for gentlemedia
    gentlemedia

    Edited localStorage returns 'undefined' in deleted values in input and textarea

    I have a form where I save the data in a cookie with localStorage. This all works fine, but If clear (just deleting with backspace) the value of an input …
  • Member Avatar for gentlemedia
    gentlemedia

    Edited localStorage returns 'undefined' in deleted values in input and textarea

    I have a form where I save the data in a cookie with localStorage. This all works fine, but If clear (just deleting with backspace) the value of an input …
  • Member Avatar for gentlemedia
    gentlemedia

    Created localStorage returns 'undefined' in deleted values in input and textarea

    I have a form where I save the data in a cookie with localStorage. This all works fine, but If clear (just deleting with backspace) the value of an input …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching localStorage returns 'undefined' in deleted values in input and textarea

    I have a form where I save the data in a cookie with localStorage. This all works fine, but If clear (just deleting with backspace) the value of an input …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Full height sidebar when content expands

    In style.min.css somewhere at line 326... well, that's what inspect element in Chrome tells me. .widget { margin-bottom: 2rem; padding: .9rem; height: 660px; background: #FFF; box-shadow: 5px 0px 5px grey; …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Full height sidebar when content expands

    Hello Guys, I have been hopelessly trying to make the sidebar full height on this site. When the content expands, its height stays the same. [Site](http://www.5th-floor.co.uk/blog) Any idea how I …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Full height sidebar when content expands

    If you give it a fixed height, in your case 660px, then indeed it stays 660px. There are a few tricks to create faux columnns, but then you will have …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Cloning a container with a button and its functionality

    Hi guys, I'm having some problem with cloning a div with a button in and its functionality. 2 words about the functionality first. Basically I'm creating some HTML with javascript …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Cloning a container with a button and its functionality

    On line 21 `HTMLcookieStringClone` should be this `$HTMLcookieStringClone` right?
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching How to activate user startpage functionality in custom CMS

    Hello everyone. I am fairly new to PHP. Because of this I try and learn as much as I can with each problem that I encounter. In this particular case …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in How to activate user startpage functionality in custom CMS

    I think you're better off to post a job at https://www.upwork.com/ or the likes. I don't think anyone here will go through all that code and your custom CMS for …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Javascript Conflict

    The reason for that error was my adBlocker was blocking that script, so I don't think that had something to do with your issue. Unless you use also an adBlocker.
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Multilingual site: what are the options

    Indeed it works! One thing is I see that you point to the index.php file in your language variables or not? I believe you have a structure like this `$en …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Multilingual site: what are the options

    As you have a single page website, then rename home.php to index.php. Like this your URLs just become `www.example.com/en/` and `www.example.com/it/` index.php in 'en' folder will get this: <?php $thisLanguage …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Multilingual site: what are the options

    Yes, .htaccess is for Apache servers, but there will definately be a web.config equivalent for IIS. The pages are indeed in PHP, but converting these little snippets to ASP won't …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Multilingual site: what are the options

    Okay, here's what I had! The language nav is like so: <?php echo '<ul class="lang-nav">'; if ($thisLanguage=='it') echo '<li class="current"><a href="#">IT</a></li><li><a href="' . $en. '">EN</a></li>'; if ($thisLanguage=='en') echo '<li><a href="' …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Multilingual site: what are the options

    I did something similar in the past for a client with PHP and .htaccess. There are ways to have all your languages in the page(s), but I had subdirectories like …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Multilingual site: what are the options

    Hi guys, I'm working at a website that, among the other things, the client has requested to be multilingual. The way I envisage it to work is this: if you …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Multilingual site: what are the options

    IMO detecting the users' language set in his/her browser is a more user friendly way to redirect, then based on the location.
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Fill remaining width among inline-block divs with self

    Yeah, Flexbox is a powerful layout module. Combine it in the future with the new Grid layout module and we can finally create any complex layout with minimal code, with …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Fill remaining width among inline-block divs with self

    <nav> <div id="main"> <div id="one"> A </div> <div id="two"> B </div> <div id="three"> C </div> <div id="four"> D </div> <div id="five"> E </div> </div> </nav> <style> #main { min-height: 175px; …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Fill remaining width among inline-block divs with self

    What happend with the styling of div#four. Anyways... If you want the last div fill the remaining width without setting a width for it, this is only doable with [CSS3 …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Javascript Conflict

    I see this in the console: `Failed to load resource: net::ERR_BLOCKED_BY_CLIENT - https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-46599585-1&cid=641821180.1448372359&jid=129595669&_v=5.6.7&z=1853167200` But I'm not totally sure if this is the cause of your issue.
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Javascript Conflict

    Hi Guys, I have added a script to my website template and somehow it does not work. I think this could be due to a JS conflict but when using …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Javascript Conflict

    In my Chrome console you have this error: `Uncaught TypeError: $(...).ready is not a function` As you have both MooTools (prototype.js) and jQuery on your Joomla site which are using …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching How do I make a menu bar with xml data source responsive

    Hi, I have a menu bar with its source derived from an xml data source. I have successfully created the menu bar, but now I want to make that menu …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in How do I make a menu bar with xml data source responsive

    Tables are monsters in getting a great responsive user experience. For the rest I see lots of tags that are unknown to me, so I can't help you further with …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching CSS Div Postioning

    Hi All, Please study the following code. ## HTML ## <div id="welcome"> Welcome Message </div> <div id="Inquiry"> Inquiry Form </div> <div id="products"> Products </div> <div id="footer"> footer </div> CSS #welcome{ …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in CSS Div Postioning

    You can leave out the top margins, because a div tag is a block level element and will by default go on one line. The next div will drop below …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Overflow Div and Achored Links

    OK, I am working on a website in HTML. I have an Overflow Div similar to this: <section id="content-wide-scroll"> <div id="scrollbar" class="content" style="left: 10px; top: -5px"> <!--Main Body Text --> …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Overflow Div and Achored Links

    For smooth scrolling. you will need some JavaScript. Not necessary 'need', because it can also be done with pure CSS, but works only in modern browsers. Here's a jQuery snippet, …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching menu problem in html

    whats wrong with this code i can't get menu and logo alinged i want logo to the left and menu to right along with logo, but i'm getting logo on …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in menu problem in html

    They can't sit net next to each other, because there is simply no room for it. In your CSS, you have set the `ul` to a width of 100%, which …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Screen Resolution for Portrait ?

    How does one display a screen shot for example, on a iPhone in portrait mode, so it's somewhat clear to view ? My only solution is to make the resolution …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Screen Resolution for Portrait ?

    Your sulution won't solve that problem. It will only makes the filesize too large and thus slow with loading. If your screenshot is fluid and therefore gets resized, so it …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in SSL Certificate

    Thanks guys... a decent SSL certificate is indeed pretty cheap nowadays, so money is not the issue here. I'm also trying to figure out what other steps I have to …
  • Member Avatar for gentlemedia
    gentlemedia

    Edited SSL Certificate

    I was wondering if it's really necessary to have an SSL certificate and therefore https for a webshop (WordPress & WooCommerce) where payments will only be handled via external payment …
  • Member Avatar for gentlemedia
    gentlemedia

    Edited SSL Certificate

    I was wondering if it's really necessary to have an SSL certificate and therefore https for a webshop (WordPress & WooCommerce) where payments will only be handled via external payment …
  • Member Avatar for gentlemedia
    gentlemedia

    Created SSL Certificate

    I was wondering if it's really necessary to have an SSL certificate and therefore https for a webshop (WordPress & WooCommerce) where payments will only be handled via external payment …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching SSL Certificate

    I was wondering if it's really necessary to have an SSL certificate and therefore https for a webshop (WordPress & WooCommerce) where payments will only be handled via external payment …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Image dont show up in browser

    all the code is right..but the image for the background didnt show up. im using external css for the image. i didnt see any error please help me <!DOCTYPE html> …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Image dont show up in browser

    The paths to your CSS file and to the image indicates that they're in the same directory. Do you have them in the same directoryt?

The End.