Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PietPuk

Members
  • Joined

  • Last visited

Everything posted by PietPuk

  1. i have found the solution. Somewhere an overlooked width: 100%; was causing troubles. I've solved the issue of the button not being able to live next to the title. But then a second issue arose... Now that I have the menu width set to 100px, the nested menu items are also 100px wide. But I'd like those the full width of the page. I've tried several options, but I'm not sure how to do this in the right css manner. Since I'm often rambling here's what i mean __________________________ | Title Menu | | Menu item 1 full | | Menu item 1 full | | Menu item 1 full | as opposed to __________________________ | Title Menu | | Item | | Item | | Item |
  2. I suppose it's not a question
  3. Basically what you should do is simply edit a "normal" css file en when satisfied with the result create the minified version only to upload. You then always have the original file to edit I believe there is some software that allows you to export a minified file while retaining the original css as wel. Can't remember any from the top of my head though...
  4. PietPuk replied to Rossi's topic in Frontend
    Dude I'm sorry (not meaning to be rude...), but you might want to take some lessons regarding html first? Code academy is awesome! Basically first lesson is that whatever you want to write on the page should be between the <body> and </body> However, an error like that is most likely due to your CSS or at the very least somewhere below the code you've just posted!
  5. Hey guys, I'm going completely crazy... I'm trying to edit a wordpress theme so that the responsive menu button will appear next to the site logo/title. Or basically it should remain where it actually is... With the current css it moves below the title, which I think is a waste of screen estate. It might be tiredness, but I can't find the error in the css. What am I doing wrong? nav.html style.css
  6. I used to like the 320 and up since it was one of the first to realize the mobile first principle. (making sure smaller screen sizes don't need to download unnecessary content) http://stuffandnonsense.co.uk/projects/320andup/ edit: I notice it's not actively supported anymore, but you might try their successor?
  7. PietPuk replied to PietPuk's topic in Frontend
    Anyway in this case the error is not only present on mobile devices. When I resize my browser to below the nr. of px mentioned in the script the same error occurs.
  8. The reset is necessary to correct the different display methods accross browsers. After implementing the css reset every element will behave in a similar fashion in internet explorer/firefox/chrome. I can't remember the differences, but for example the margin of a div might be displayed differently in each browser, when not defined, (one having a 5px margin, others 1em or none), after the reset you'll know that the margin in each browser is the same, thus the result will be similar to your intentions. You should start with this implemented as indeed as you mentioned it will change the behaviour of elements and since youve made specific adjustments for each element already it will mess up your work. However I think it is not that difficult to start with and saves a lot of time later in the process
  9. Hey all, I've started to browse the forum yesterday in the search of a solution to my JavaScript problem and thought it might be cool to say hello I've already seen a lot of interesting stuff going on so I'm excited about the forum. I hope to contribute my two cents and could someone tell me if the forum is enabled for Tapatalk? Would be great! Ciao
  10. Hey David, Looks like a cool site! Would be interesting to see how far you can take that one tip though. I'm using my phone at the moment and the site doesn't really adjust to my limited screen size. There's a lot lately about responsive sites and a masonry grid. Maybe those could be integrated in the layout? Good luck!
  11. I agree. If you're looking to build skills WordPress is the easiest platform apparently to build templates. There are some frameworks that do the php for you (bones) and with some knowledge of php/html/css you might be able to create some standard templates. You might try to create one of those and sell it?
  12. HTML and CSS. A good place to start is at code academy. There you'll find online lessons that helped me a lot.
  13. Plus, external is useful because the content is separated from the graphical part, coding for both parts is cleaner and easier.
  14. PietPuk replied to PietPuk's topic in Frontend
    Thnx! Actually the menu is formatted with css3 already and it looks quite nice! However I've tried to integrate some jquery to have a sliding effect, but it's that part that seems to break the menu
  15. PietPuk replied to PietPuk's topic in Frontend
    I suppose it is due to this part, but I'm confused about how to fix it... if(windowWidth < 767) { jQuery("nav#top-menu > ul > li").click(function () { jQuery('a:first', this).attr("href", "#"); jQuery('ul', this).show(); }); } else
  16. I think it's not worth the effort... Unless you've got something very (and I mean VERY) special! There's a ton of good wordpress themes available which would cost you around $50 and a few hours to customize. They might even be more elaborate in terms of functionality to what you have now.
  17. I do like the new Joomla though, with the admin panel being fully responsive. Edit your website on the go, the wp app is nowhere near in terms of functionality.
  18. PietPuk posted a topic in Frontend
    Hey guys I've been trying to create a mobile friendly menu. In desktop mode it works fine, but on a mobile phone the links are somehow replaced by # and thus not working. I suppose the issue is with the script that is associated with the menu, but I can't figure out the problem. Could someone help me out? thnx! html: <a href="#" class="top-menu-button"></a> <nav id="top-menu" class="fake"> <ul id="menu-main-menu" class="menu"> <li id='main-menu-5078'><span class="menu-item-wrap no_icon"><a href="link" style=""><span class="link-text">Home</span></a></span><div class='under'></div></li> <li id='main-menu-5079'><span class="menu-item-wrap no_icon"><a href="http://url.com" style=""><span class="link-text">Blog page</span></a></span><div class='under'></div></li> <li class="current-menu-item" id='main-menu-5092'><span class="menu-item-wrap no_icon"><a href="http://www.url.com" style=""><span class="link-text">Contact</span></a></span><div class='under'></div></li> </ul> </nav> javascript: <script type="text/javascript"> jQuery(document).ready(function () { var menu_speed = 'normal'; var animation_effect = 'fade_in'; jQuery("nav#top-menu > ul > li > ul").hide(); var windowWidth = jQuery(window).width(); jQuery(window).resize(function() { //jQuery("nav#top-menu > ul > li > ul").hide(); windowWidth = jQuery(window).width(); //alert(windowWidth); }).resize(); if(windowWidth < 767) { jQuery("nav#top-menu > ul > li").click(function () { jQuery('a:first', this).attr("href", "#"); jQuery('ul', this).show(); }); } else { jQuery("nav#top-menu > ul > li").hover(function () { if (animation_effect == 'fade_in') jQuery('ul', this).stop(true, true).fadeIn(menu_speed); if (animation_effect == 'slide_down') jQuery('ul', this).stop(true, true).slideDown(menu_speed); }, function () { if (animation_effect == 'fade_in') jQuery('ul', this).stop(true, true).fadeOut(menu_speed); if (animation_effect == 'slide_down') jQuery('ul', this).stop(true, true).slideUp(menu_speed); }); } jQuery('nav#top-menu > ul > li').mouseleave(function() { jQuery("nav#top-menu > ul > li > ul").hide(); }); }); </script>

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.