-
AuthorPosts
-
February 25, 2014 at 11:26 am #228949
I am using Enfold as the base for one of my latest projects, but I encountered a small problem. I like the logo resizing when scrolling down the page, but the logo gets too small. How can I set something like a minimum size for the logo?
I already found a similar topic here: but that didn’t help me much. I am using a logo image of the same size (340px x 156px) but when replacing the JavaScript code mentioned, the logo gets ultra small before ‘snapping’ to a bigger size.
Unfortunately, I can’t post a link since I am just developing local.
February 25, 2014 at 1:30 pm #228986Hey Peter!
Plase go to wp-content\themes\enfold\js folder and open Avia.js file and find
if(st < el_height/2) { newH = el_height - st; header.removeClass('header-scrolled'); } else { newH = el_height/2;
initial size of the logo is getting divided by 2 by default. You can change them to 1.2
Cheers!
YigitMarch 18, 2014 at 9:57 pm #239629Hello,
I tried inputing this code into the avia.js file and I still have the same problem as Peter where my logo “…gets ultra small before ‘snapping’ to a bigger size.”
Please see the link http://www.charlestonwedding.com/2014/ You can see the end result is working but, it scrolls down super small before it resizes or “snaps” to the correct size implemented in the .js file.
Please help – Thanks!
March 18, 2014 at 9:59 pm #239632Hey!
Please update Enfold to the latest version 2.6.1 to have more control over header – http://kriesi.at/documentation/enfold/updating-your-theme-files/
Cheers!
YigitMarch 18, 2014 at 10:39 pm #239680Thanks Yigit – I just updated my theme through WordPress and the problem persists. Thoughts?
March 19, 2014 at 7:58 am #239890Hey!
You’re still using 2.5.4. Please download the latest version of the theme which is 2.6.2 on your themeforest account. Update the theme via FTP. Watch this video by Devin: http://vimeo.com/channels/aviathemes/67209750
Cheers!
IsmaelMarch 20, 2014 at 6:42 pm #240826Thanks Ismael! Quick question, the update for 2.6.2 appears on my dahboard and I’d prefer to do the update through the wordpress interface. When I do this I get the following message, “Updating this theme will lose any customizations you have made.” – How do I do the update without losing any customizations?
Thanks!
March 21, 2014 at 5:02 am #241013Hey!
On the latest version of Enfold, you’ll have the Import / Export panel where you can export and import the theme settings. Export the theme settings file before updating then import it back after. Anyway, the message “Updating this theme will lose any customizations you have made.” means that you will lose any hard coded changes that you made directly on the theme files but you will not lose the theme options.
Cheers!
IsmaelMarch 21, 2014 at 5:42 pm #241274So – I followed the steps you mentioned above and lost the custom lightbox that I had made for this site. This is REALLY important to get back up and running asap! I made a back-up and re-installed it but still reverted back to the standard lightbox. Please help!
Thanks
March 21, 2014 at 6:14 pm #241300Please disregard this comment.
- This reply was modified 10 years, 9 months ago by techgrayscale.
March 22, 2014 at 1:46 am #241468 -
AuthorPosts
- The topic ‘How to stop the logo in fixed header from becoming too small?’ is closed to new replies.