Miss Mitzi – Eye on the Web

Graphic Design | Interface Design | Typography | Mobile-Responsive Web Design | Advertising | The Internet for Beginners

FIX: Dropdown menu cut off in Optimal theme

03.24.2017 by Miss Mitzi // Leave a Comment

Problem:

With persistent nav in Optimal theme v. 1.5, you scroll down and trigger the persistent navigation at top with content scrolling beneath. But sadly, if you roll over the nav, the dropdown menus (or submenus if you like) are cut off at the edge of the persistent nav:

dropdowns-cut-off2

Here’s the fix, thanks to Wes, in Appfinite’s Forum:

http://appfinite.com/topic/epik-navigation-appearing-behind-headline-on-pages/

Here’s the original top function inside /wp-content/themes/optimal/js/global.js:

jQuery(function( $ ){

// Add shrink class to site header after 50px
$(document).on(“scroll”, function(){

if($(document).scrollTop() > 250){
$(“.site-header”).addClass(“shrink fadeup-effect”);

} else {
$(“.site-header”).removeClass(“shrink fadeup-effect”);
}

});

To fix, replace that section with this:

jQuery(function( $ ){

// Add shrink class to site header after 50px
$(document).on(“scroll”, function(){

if($(document).scrollTop() > 250){
$(“.site-header”).addClass(“shrink”);

} else {
$(“.site-header”).removeClass(“shrink”);
}

});

And, voilà! Normal menus, not cut off:

dropdowns-FIXED

Categories // WordPress Tips

G Suite – “Not Allowed to Send” per SPF Record

11.15.2016 by Miss Mitzi // Leave a Comment

Question:

Emails blocked …  can you whitelist blahblah.com domain?

Delivery to the following recipient failed permanently:

someone@somedomain.com

Technical details of permanent failure: 

Google tried to deliver your message, but it was rejected by the server for the recipient domain somedomain.com by smtp.secureserver.net. [68.299.214.201].

The error that the other server returned was:

550 5.1.0 814.82.776.182 is not allowed to send from <somedomain.com> per it’s SPF Record. Please inspect your SPF settings, and try again. IB508  <http://x.co/srbounce>

Answer:

Hi Dear Client,

Are you guys using Google Apps (evidently now known as “G Suite”, who knew?) to send email associated with the blahblah.com domain? If so, the problem might be in the details of how you have configured your “domain SPF” records. This would probably need to be adjusted in the DNS records of your domain registrar account.

[Read more…]

Categories // Emails to Clients

Controlling Title Line Breaks Gracefully with Non‑Breaking Spaces

11.02.2016 by Miss Mitzi // Leave a Comment

orphans4Have you ever finished a post (or page) and then been disappointed with how the page title breaks when viewed on your computer? Such as, when one word is hanging out all by itself on its own line? (That lonely word is called an “orphan” in old-fashioned proofreader-speak.) See example to the right:

One approach I used to use was to insert a “break” code (<br>) code into the title at your desired break point. And, it would look nice on my big-screen development computer – see second image on the right. However, I realized there’s a problem with this approach.

With today’s mobile devices, there is no guarantee that this break will look good on all devices. Here’s why: as the screen width gets smaller, and the headline rearranges itself accordingly, that break code will be honored even when it’s not needed, creating some awkward splits that look worse on those screen widths than if I hadn’t tried to mess with it. Such as these examples: [Read more…]

Categories // WordPress Tips

Find A Topic!

Copyright © 2025 · Modern Studio Pro Theme on Genesis Framework · WordPress · Log in