Support for Envato Buyers › Forums › Miao › 2 Logo issues – Resize on scroll and display quality
- This topic has 30 replies, 2 voices, and was last updated 8 years, 10 months ago by FocuxTheme Support.
-
AuthorPosts
-
-
February 7, 2016 at 1:25 am #9637garethshawParticipant
Hi
Just bought this theme for http://davidwattsbarton.com, it’s a brilliant and gorgeous theme, thank you.
1: when I scroll the logo doesn’t resize correctly even though I’ve uploaded a 150×150 and a 300×300
2: firefox displays the non-retina logo, safari displays the retina version, is this a browser issue?Could the logo be set to a percentage so it can resize with the theme even if a logo larger than 150 or 300 is uploaded, that way auto increasing the quality.
Thanks
Gareth -
February 7, 2016 at 1:29 am #9638garethshawParticipant
Just found a bug, when you correct the logo to be dead centre at the top of the page it doesn’t display in the centre after scrolling, it shifts to the right.
-
February 7, 2016 at 2:05 am #9639garethshawParticipant
We’ve also noted that on a mobile device the navigation doesn’t display at all. The icon does but the none of the nav loads.
Thanks
Gareth -
February 7, 2016 at 7:32 am #9640FocuxTheme SupportKeymaster
Hi
Sorry for those issues.
I checked the LOGO issue again, please try to add the following custom CSS into “Appearance > theme options > custom code > custom css”
.shrinked#top{overflow:initial;} .shrinked #primary_menu ul li.logo a { left: 35px; width: 100px; height: 100px; }
For the mobile menu, it works in original theme (http://demo.themevan.com/miao), but in your website, when click the menu button, the side menu can’t be opened, it’s strange. Let’s have a test, add the following js code into “Appearance > theme options > custom code > custom javascript”
jQuery(function($) { $('.menu_button').on('click',function(){ $('.pushy').addClass('pushy-open'); }); });
If still can’t fix the issue, you can let me know your WP login details with private reply, I will check the third-party plugins.
About the retina LOGO doesn’t display in Firefox, I fixed it, please download the changed file https://www.dropbox.com/s/cntshxz7x8ffw28/theme-func.php?dl=0 upload it to miao/inc folder, overwrite the old file.
Thanks
-
February 7, 2016 at 6:25 pm #9645garethshawParticipant
John,
You’re a star thanks.
Logo resize on scroll – sorted.
Navigation on mobile – sorted.Just waiting on FTP access to upload the css file.
Thanks for being so quick. I’ll let you know about the last one.
Gareth -
February 8, 2016 at 9:13 pm #9648garethshawParticipant
I’ve also noticed that the social media icons do not show up on the mobile version of the website.
On google chrome on iphone the navigation doesn’t scroll correctly.
The space between the logo and body copy is very large, is the best way to use custom CSS to make this smaller?
How can I add more social media options?
– linkedin
– skype
– etc..Thanks
Gareth -
February 8, 2016 at 10:28 pm #9651garethshawParticipant
On your demo site you’ve mispelt Media…
Social Meida Icons
…instead of…
Social Media Icons -
February 9, 2016 at 5:05 pm #9656FocuxTheme SupportKeymaster
1. Yes, in currently the social icons are hidden on the mobile device, if you are not planning to use woocommerce, then you can display the social icons to the right side of the top bar with the following Custom CSS
@media only screen and (max-width: 959px){ #topbar .social_icons { display: block; float: right; } }
2. For the scroll issue, I’ve tried to updated the pushy.js, you can download it here https://www.dropbox.com/s/biguhpqgsg6bjca/pushy.js?dl=0 and upload the new file to miao/assets/js folder, overwrite the old file.
3. Could you post a screenshot for the “The space between the logo and body copy is very large” issue? I haven’t found where the space is.
-
February 9, 2016 at 5:55 pm #9657garethshawParticipant
Thank you for being so responsive to my questions and sorry for asking so many questions.
1: Is there a way to add more social options?
2: The space I’ve corrected with some custom CSS, it was merely that the space was set to 120px, reduced to 75px and it’s sorted.
#miao_content {
margin-top: 75px;
}
#top {
margin-bottom: 0px;
padding-bottom: 0px;
}3: How can I hide the top menu (sorry), David doesn’t like that it resizes the logo now, he’s happy for it to disappear when the user scrolls as the pages are so short. i think I saw this on a previous post so I’ll go searching and report back if I find it.
You’re awesome!
-
February 9, 2016 at 6:44 pm #9658garethshawParticipant
4: Widgets – adding additional widgets for things like Twitter, Instagram, etc… for the footer bar
5: Footer Copyright information – where is this? I’ve changed it in the config but it still says 2015 and doesn’t include the extra information I’ve added in the admin system.
-
February 10, 2016 at 9:33 pm #9661FocuxTheme SupportKeymaster
Hi
1. You have to edit some php files, like inc/options.php and inc/lib.php you can let me know what social icon you want to add, I will add them in the next version.
3. If my understood is correct, you can use the following custom CSS
.shrinked#top{position:relative;}
4. Please search the third-party plugins which provides twitter or instagram widget. For example:
Instagram: https://wordpress.org/plugins/wp-instagram-widget/
Twitter: https://wordpress.org/plugins/recent-tweets-widget/5. It’s a bug, I changed inc/options.php file, please download it here https://www.dropbox.com/s/ygm3vg1ygdgp5o6/options.php?dl=0 and upload it to inc folder, overwrite the old file, then you should go to appearance > theme options > general setting, reset the copyright text.
Thanks
-
February 25, 2016 at 9:21 pm #9776garethshawParticipant
Hi John
Thanks for all your help so far. Just about everything is sorted however the top logo and nav still doesn’t disappear when scrolling the page down.
This is the URL. http://www.davidwattsbarton.com/category/writing/ I’m happy to create you a login if that would help but this is just CSS I’m guessing.
Gareth
-
February 26, 2016 at 12:39 am #9777garethshawParticipant
New issue which according to wp forums is caused by the theme, not your theme but ‘THE’ active theme which means that menu items cannot be reordered.
https://wordpress.org/support/topic/menu-items-cant-be-moved
define( ‘CONCATENATE_SCRIPTS’, false );OK so I’ve just tested and if I activate Twenty Twelve the menu ordering works perfectly even with the above line of code inserted into the wp-config.php script.
-
February 26, 2016 at 1:37 pm #9779FocuxTheme SupportKeymaster
Hi
When I scrolled down the page, the navigation and LOGO wasn’t there, screenshot https://www.dropbox.com/s/r06bpi94wgrmo0m/FCF87E09-1A7C-4138-85EA-DCBB4B13D1AE.png?dl=0 Maybe I don’t understand your mean.
Could you let me know the WP login details that I can check the menu reorder issue?
Thanks
-
February 26, 2016 at 6:38 pm #9782garethshawParticipant
Oh I fixed the CSS myself. Was an ordering issue.
The menu I’ve confirmed. When your theme is active the menu won’t work and often messes up.
So, on save. sometimes it will remove the hierachy and set it to flat navigation.
Often when adding new items to be menu, regardless of type it won’t allow them to be added under other objects.
Often you can’t move items out from under another item, it just wants to move the whole navigation sub-block.My guess is your custom code is overriding the WP JS somehow, or maybe its a jquery version issue.
The design for the menu system changes when your theme is activated, this could simply be CSS overrides or JS issues.
Gareth
-
February 26, 2016 at 6:39 pm #9783garethshawParticipantThis reply has been marked as private.
-
February 27, 2016 at 2:41 am #9785FocuxTheme SupportKeymaster
Hi
Please help me give it a test. Edit inc/init.php file, find the following code
require_once($metabox_path."mega-menu-field.php");
Comment out
//require_once($metabox_path."mega-menu-field.php");
Thanks
-
February 27, 2016 at 10:32 pm #9786garethshawParticipant
Changes made, I could give you FTP access if you’d like?
-
February 27, 2016 at 10:38 pm #9787garethshawParticipant
Tht change has returned the menu to it’s normal state, i.e. wordpress setup and it appears to be working.
What does that file actually do?
-
February 28, 2016 at 1:37 pm #9792FocuxTheme SupportKeymaster
The file is used to add mega menu options, you can comment out the code temporarily if you don’t use mega menu.
I will rewrite that file and test it again, if it will not conflict with the menu system, I will release the new version soon. -
February 28, 2016 at 8:54 pm #9797garethshawParticipant
I don’t use the mega menu’s so this code can be commented out. Apologies for finding so many bugs. I’m a programmer and tend to push things to the limit when I know they can do something so find the edges quickly.
In terms of adding Social Media options to the site and perhaps all of your other sites, these are the top sites around the world.
Twitter
Facebook
LinkedIn
Sing
RenRen
Google+
Disqus
LinkedIn Pulse
Snapchat
Tumblr
Pinterest
Too
MyMFB
YouTube
Instagram
Vine
WhatsApp
vk.com
Meetup
Secret
Medium -
February 28, 2016 at 9:50 pm #9798garethshawParticipant
I’ve actually got a much larger list that might be helpful:
Social Media for Networking
Blab
Facebook
Google+
Friendster
hi5
LinkedIn
Meerkat
MyLife
Ning
Periscope
Plato
Twitter
XINGSocial Media for Promotion
Bing
Blogging Platforms:
– Blogger
– Tumblr
– Vox
– Xanga
Discussion Boards and Forums
Google
Email Marketing Platforms
Flickr
Nowcast
iTunes
MySpace
Picasa
Vimeo
Yahoo
YouTubeSocial Media for Sharing
Buffer
Delicious
Digg
Instagram
LocalVox
Path
Pinterest
Quota
Reddit
Scribd
SlideShare
StumbleUpon
Wikipedia
Yelp -
February 29, 2016 at 6:46 am #9799FocuxTheme SupportKeymaster
Thanks for you listed the social media sites. I’ve added them to the update list. Thanks
-
March 3, 2016 at 7:43 pm #9818garethshawParticipant
We have another issue is that the excerpt option is missing on the Add/Edit Pages Page.
-
March 4, 2016 at 3:39 am #9824FocuxTheme SupportKeymaster
Please click “Screen options” button at the top right of your screen, then you will see those options slide down, just check the excerpt option.
-
March 4, 2016 at 10:20 pm #9834garethshawParticipant
Thanks but I shoiuld have said Excerpt isn’t one of the options, I already know about that which is why I was asking. Again forums suggest theme based issues.
-
March 6, 2016 at 6:17 am #9842FocuxTheme SupportKeymaster
OK, I see. There’s no excerpt option for the page by default in WordPress, if you need to use this option, you can add it by the following custom code.
add_action( 'init', 'miao_add_excerpts_to_pages' ); function miao_add_excerpts_to_pages() { add_post_type_support( 'page', 'excerpt' ); }
By the way, you can install this plugin https://wordpress.org/plugins/custom-css-js-php/ then add those php code through this plugin. Then, the codes will not lost when you update the theme in the future.
Thanks
-
-
-
-
March 3, 2016 at 10:14 pm #9819garethshawParticipant
And… another issue! 😉 On safari on a specific machine the social icons are not appearing. Screengrabs on dropbox.
https://www.dropbox.com/sh/r3wgbt5pog30tyi/AACvD49jGVMSddRfiNu9Nz9ia?dl=0
-
March 4, 2016 at 3:42 am #9825FocuxTheme SupportKeymaster
I can’t reproduct your issue, beceause I check it on the Windows Safari and Mac Safari, the social icons displays as normal on both browsers. You said a specific machine, could you let me know the details?
-
March 4, 2016 at 10:24 pm #9835garethshawParticipant
I can’t reproduce his issues either. He has the latest OSX and latest safari installs. Very weird!
Safari 9.0.3
OSX 10.11.3-
March 6, 2016 at 6:19 am #9843FocuxTheme SupportKeymaster
I have to spend times to download and upgrade my OSX to the latest version, and I will check it again, let you know the result later.
-
-
-
-
-
AuthorPosts
- You must be logged in to reply to this topic.