sim89
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Swipebox-Overlay ErrorFor me this problem was caused by a parent theme enqueuing an outdated version of Swipebox. In my child theme functions file, I dequeued the outdated script and enqueued a new version, which I downloaded from https://swipebox.codes/
The code will look something like this:
// dequeue outdated swipebox from parent theme function my_dequeue_unnecessary_scripts() { wp_dequeue_script('swipebox'); wp_deregister_script('swipebox'); } add_action('wp_print_scripts', 'my_dequeue_unnecessary_scripts'); // enqueue child scripts function my_scripts_load() { wp_enqueue_script('swipebox-new', get_stylesheet_directory_uri() . '/jquery.swipebox.min.js', array('jquery')); } add_action('wp_enqueue_scripts', 'my_scripts_load');Forum: Plugins
In reply to: [Meow Lightbox] Display custom field in lightboxHi Bryan
I ended up using FancyBox – it’s not a WordPress plugin but a JavaScript library that I incorporated into my build process. It’s easy to add custom fields when you add the lightbox code. However, it’s obviously not as user friendly as a plugin.Sim
Forum: Plugins
In reply to: [WP Post Popup] Breakpoint not workingIt’s working now – the settings just needed resaving after after I deactivated and then reactivated plugin.
Really useful plugin btw!Forum: Plugins
In reply to: [Meow Lightbox] Display custom field in lightboxHi Jordy
Thanks for getting back to me. I ended up using a different plugin, as I was on a deadline to get it finished.
All the best
SimForum: Fixing WordPress
In reply to: Change product title and price font in mobileGive this a try:
@media screen and (max-width:540px) { h1.entry-title.product_title { font-size:18px !important; } span.woocommerce-Price-amount { font-size:16px !important; } }Forum: Fixing WordPress
In reply to: Change product title and price font in mobileHi
A media query should help here, as it adds styling when the screen reaches a certain width.Try something like this code, which will resize the text on screens below 540px width:
@media screen and (max-width:540px) { h1.entry-title.product_title { font-size:18px; } span.woocommerce-Price-amount { font-size:16px; } }Forum: Fixing WordPress
In reply to: Lost front page background image linkHi Bub
Can you include a link to your site?
Thanks
SimForum: Fixing WordPress
In reply to: Fixed background imageHi Aaron
Does your theme offer you anywhere to add CSS code?
For example, if you select ‘appearance’ and then ‘customise’ is there an option to add your own CSS there?If there is you can add this piece of code:
.home #pg-8-0 .panel-row-style[data-hasbg="hasbg"] { background-position:center !important; }It just makes sure that the background image in this slot remains centred when the browser is resized.
SimForum: Plugins
In reply to: [Tabby Responsive Tabs] Add an extra click function to tabsThat works perfectly – thanks!
Perfect – that sounds like a really elegant way to do it.
I’ve finished on this project but it will definitely come in handy next time.
CheersHi Denise
Thanks, that’s really appreciated – you site looks really nice too.
No – had no responses and I couldn’t figure out a way to target the individual panels – so I went ahead with the CSS approach, which works ok but feels like a bit of a hack.
It looks like you worked out how to get the text over the featured images as you wanted it? I just went for simplicity and absolutely positioned blockquotes from the associated article – so they should hopefully be easy for the client to change.
SimForum: Fixing WordPress
In reply to: Self-hosted wp-admin keeps redirecting to old WordPress.com siteIt turned out to be the nameservers at my host – thanks.
Forum: Fixing WordPress
In reply to: Self-hosted wp-admin keeps redirecting to old WordPress.com siteHi LChief – thanks for your response but unfortunately that didn’t work. I thought I had transferred the domain to my new host – and it is showing in my control panel there but still redirecting to .com