fermanus
Forum Replies Created
-
Forum: Plugins
In reply to: [Secondary Title] Secondary title also in nav-menu?Sorry, I looked more carefully and saw that the same question has been asked earlier. So I guess what I observed is “normal” (but not very convenient).
Thanks for your rapid answer (this is not so common).
Regarding PHP GD, I am the “hosting provider” (localhost) so I asked myself to activate it. Just a semi-colon to remove in PHP.ini so I could do it and the problem was solved.Forum: Plugins
In reply to: [WooCommerce] Woocommmerce blocks not transfered by FTP?Sorry, I just tried to make a copy of the “reluctant files” for your information but I could not. FTP transfer proceeded smoothly. May be a problem with a previous version of filezilla ? (they update very frequently). Nevertheless this is strange.
I understand you are referring to the WooCommerce Blocks plugin.
Actually I think those blocks are part of woocommerce core aren’t they? (sub-folder package/woocommerce-blocks). I have no woocommerce-blocks plugin.
Anyway for the time being as I cannot reproduce the problem I think I will have to live with this mystery. Should the problem come back again I will re-contact the support
Forum: Fixing WordPress
In reply to: images in site titleThe simplest method would be using CSS. First remove the first letter (D) of your title and then use “:before” to prepend the image. For example:
.site-title a:before{content:url("https://dandeliondreamdolls.com/wp-content/uploads/2021/10/logo-letter_36x36.png")}
To add to custom CSS.
Hope it works
Forum: Fixing WordPress
In reply to: Cannot Remove Short Horizontal Line Under TextPlease just try this in your custom CSS.
#site-main h2:after, #site-main h3:after {display:none;}
Forum: Plugins
In reply to: [Store Hours for WooCommerce] Hide Notification BoxHi,
It would be nice to have the possibility to dismiss the notice until page refresh or page change. I think it means just adding a “0” in an array in “setting.php” so I don’t understand why this option is not available in the free version. There are plenty of additionnal features in the premium version that justify to pay for but I think the one above should not be part of them.
Forum: Fixing WordPress
In reply to: Site Title Style – Adjust first-letter size…partition the two words into to elements
This is precisely what the jQuery is doing (otherwise CSS would suffice). If you inspect the title, you will see that the whole “fürst Tedesco” has an “a” attribute whereas the last word is wrapped in a span (.last). Thus the CSS can apply to both words.
In your case the “T” in Tedesco has a height of 100px not 50 (I don’t know why. Did you add some custom CSS?). Anyway you can revert this either by removing those 100px from wherever they are or by adding !important in the last CSS line.h1.site-title .last::first-letter{font-size:50px!important;}
Forum: Fixing WordPress
In reply to: Site Title Style – Adjust first-letter sizeMay be a possibility using jQuery and CSS. A little bit complex but I could not find a simpler way
jQuery (from here):
$=jQuery; $(function(){ $('h1.site-title a').html(function(){ var text= $(this).text().split(' '); var last = text.pop(); return text.join(" ") + (text.length > 0 ? ' <span class="last">'+last+'</span>' : last); }); });
And CSS:
h1.site-title a, .last{display:inline-block;} h1.site-title a {width:600px;} h1.site-title a::first-letter{font-size:50px;} h1.site-title .last::first-letter{font-size:50px;}
Maybe it helps
Forum: Plugins
In reply to: [Contact Form 7] Modifying “wpcf7-response-output” text using jQuery or jsMaybe I’m not understanding well,
Yes I should explain a little bit more. On our forum, a contact form 7 user asked for help regarding a message (see first post) that he wanted to modify but that was not mentionned in the messages tab. I could not not find it either and decided to go for some jQuery. As explained above this proved to be more difficult than I anticipated.
In the meantime, the person found out that the message was NOT from contact form 7 but from another plugin called “Cleantalk”. He contacted their support and they provided a solution.
It never crossed my mind that another plugin could display its own notices similar to contact form 7’s ones.Forum: Plugins
In reply to: [Contact Form 7] Modifying “wpcf7-response-output” text using jQuery or jsOK, The problem was AJAX. Without AJAX it is simple. With AJAX enabled it is not so easy but I could find a workaround (not ideal but with which I can live).
So problem solved.- This reply was modified 3 years, 11 months ago by fermanus.
Forum: Fixing WordPress
In reply to: How to change the color of the onsale price (number) Only?Please try:
.price ins bdi {color:red;}
Forum: Fixing WordPress
In reply to: Sidebar background color won’t changeWhat am I missing?
The class is not .sidebar but .single-sidebar
Forum: Themes and Templates
In reply to: [OceanWP] add h2 tag to woocommerce product titleHi,
Thank you very much for your answer. I tried it and it works fine except for the “remove_action” part which does not remove the default title. I have to use some finely adjusted “display-none” CSS which is no problem.
Alternatively, the method in which I copy/modify the owp-archive-product file in the OceanWP child theme also works well (without the need to add additional CSS).Wouldn’t it be useful if the product titles were wrapped in “h2” tags instead of simply “a” as this is the normal formatting in woocommerce?
Thanks a lot again for your help.
Forum: Developing with WordPress
In reply to: Fatal error WP_QueryHello,
For me this code (unmodified) worked well when wrapped into a function with a shortcode and placed either in functions.php or using the plugins “my-custom-functions” or “code-snippets”.
Forum: Fixing WordPress
In reply to: Cannot change domain nameHi,
OK problem solved: new domain was not associated with existing folder + host not very helpful.