Title: fermanus's Replies | WordPress.org

---

# fermanus

  [  ](https://wordpress.org/support/users/fermanus/)

 *   [Profile](https://wordpress.org/support/users/fermanus/)
 *   [Topics Started](https://wordpress.org/support/users/fermanus/topics/)
 *   [Replies Created](https://wordpress.org/support/users/fermanus/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/fermanus/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/fermanus/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/fermanus/engagements/)
 *   [Favorites](https://wordpress.org/support/users/fermanus/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 56 total)

1 [2](https://wordpress.org/support/users/fermanus/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/fermanus/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/fermanus/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/fermanus/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [simple menu text color change](https://wordpress.org/support/topic/simple-menu-text-color-change/)
 *  [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/simple-menu-text-color-change/#post-18501507)
 * Hi,
 * Try the CSS below :
 *     ```wp-block-code
       #menu-header-menu.elementskit-navbar-nav > li > a {       color: #000000;}
       ```
   
    -  This reply was modified 11 months, 1 week ago by [fermanus](https://wordpress.org/support/users/fermanus/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] activate add to cart button on specific products](https://wordpress.org/support/topic/activate-add-to-cart-button-on-specific-products-2/)
 *  [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/activate-add-to-cart-button-on-specific-products-2/#post-18215940)
 * Hi,
 * You may try this (to add to functions.php of you theme).
 *     ```wp-block-code
       function purchasable_products( $is_purchasable, $object ){    // array of purchasable products ID's    $purchasable = [100, 101...etx ]; // Replace 100, 101 ...etc by the actual product_id's.    if( !in_array( $object->get_id(), $purchasable ) ){        return false;    } else {        return $is_purchasable;    }	}add_filter( 'woocommerce_is_purchasable', 'purchasable_products', 10, 2 );
       ```
   
 * [Adapted from this source.](https://stackoverflow.com/questions/17259052/modify-woocommerce-is-purchasable)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Secondary Title] Secondary title also in nav-menu?](https://wordpress.org/support/topic/secondary-title-also-in-nav-menu/)
 *  Thread Starter [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [3 years ago](https://wordpress.org/support/topic/secondary-title-also-in-nav-menu/#post-16670624)
 * 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).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Problem with “PHP GD extension not being installed”](https://wordpress.org/support/topic/problem-with-php-gd-extension-not-being-installed/)
 *  Thread Starter [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/problem-with-php-gd-extension-not-being-installed/#post-16034484)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Woocommmerce blocks not transfered by FTP?](https://wordpress.org/support/topic/woocommmerce-blocks-not-transfered-by-ftp/)
 *  Thread Starter [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/woocommmerce-blocks-not-transfered-by-ftp/#post-15305822)
 * 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [images in site title](https://wordpress.org/support/topic/images-in-site-title/)
 *  [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/images-in-site-title/#post-14978166)
 * The 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Cannot Remove Short Horizontal Line Under Text](https://wordpress.org/support/topic/cannot-remove-short-horizontal-line-under-text/)
 *  [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cannot-remove-short-horizontal-line-under-text/#post-14814958)
 * Please just try this in your custom CSS.
 * `#site-main h2:after, #site-main h3:after {display:none;}`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Store Hours for WooCommerce] Hide Notification Box](https://wordpress.org/support/topic/hide-notification-box/)
 *  [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/hide-notification-box/#post-14312515)
 * Hi,
 * 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Site Title Style – Adjust first-letter size](https://wordpress.org/support/topic/site-title-style-adjust-first-letter-size/)
 *  [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/site-title-style-adjust-first-letter-size/#post-14015199)
 * > …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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Site Title Style – Adjust first-letter size](https://wordpress.org/support/topic/site-title-style-adjust-first-letter-size/)
 *  [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/site-title-style-adjust-first-letter-size/#post-14014314)
 * May be a possibility using jQuery and CSS. A little bit complex but I could not
   find a simpler way
 * jQuery (from [here](https://gist.github.com/ramseyp/5005344)):
 *     ```
       $=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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Modifying “wpcf7-response-output” text using jQuery or js](https://wordpress.org/support/topic/modifying-wpcf7-response-output-text-using-jquery-or-js/)
 *  Thread Starter [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/modifying-wpcf7-response-output-text-using-jquery-or-js/#post-13821894)
 * Hi [@yordansoares](https://wordpress.org/support/users/yordansoares/)
 * > Maybe 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Modifying “wpcf7-response-output” text using jQuery or js](https://wordpress.org/support/topic/modifying-wpcf7-response-output-text-using-jquery-or-js/)
 *  Thread Starter [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/modifying-wpcf7-response-output-text-using-jquery-or-js/#post-13819006)
 * OK, 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 5 years, 4 months ago by [fermanus](https://wordpress.org/support/users/fermanus/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change the color of the onsale price (number) Only?](https://wordpress.org/support/topic/how-to-change-the-color-of-the-onsale-price-number-only/)
 *  [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/how-to-change-the-color-of-the-onsale-price-number-only/#post-13813979)
 * Please try:
 * `.price ins bdi {color:red;}`
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Sidebar background color won’t change](https://wordpress.org/support/topic/sidebar-background-color-wont-change-2/)
 *  [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/sidebar-background-color-wont-change-2/#post-13476538)
 * > What am I missing?
 * The class is not .sidebar but .single-sidebar
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] add h2 tag to woocommerce product title](https://wordpress.org/support/topic/add-h2-tag-to-woocommerce-product-title/)
 *  Thread Starter [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/add-h2-tag-to-woocommerce-product-title/#post-13392487)
 * Hi,
    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.

Viewing 15 replies - 1 through 15 (of 56 total)

1 [2](https://wordpress.org/support/users/fermanus/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/fermanus/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/fermanus/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/fermanus/replies/page/2/?output_format=md)