Title: andreaborin's Replies | WordPress.org

---

# andreaborin

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Atomic Blocks - Gutenberg Blocks Collection] AB colums broken](https://wordpress.org/support/topic/ab-colums-broken/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/ab-colums-broken/#post-12431908)
 * Chrome last version. Downgraded to 2.4 and all is working fine now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Atomic Blocks - Gutenberg Blocks Collection] AB colums broken](https://wordpress.org/support/topic/ab-colums-broken/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/ab-colums-broken/#post-12431409)
 * wow thanks for your answer! I was going mad! How can I downgrade the version?
   On the plugin site I can see only v.2.5.
 * Again thank you so much,
    Ab
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Seventeen] Add an additional section to Front-Page](https://wordpress.org/support/topic/add-an-additional-section-to-front-page/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/add-an-additional-section-to-front-page/#post-12103153)
 * Dear Jarret,
 * thank you so much for your support!
    The code worked perfectly for my purpose!
 * Have a nice day, bye bye!
    Ab
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Astrid] full width separator](https://wordpress.org/support/topic/full-width-separator/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [7 years ago](https://wordpress.org/support/topic/full-width-separator/#post-11704360)
 * Hi Kharis Sulistiyono and thank you for your answer.
    I followed your steps, 
   but the result isn’t what I expected. With the provided jQuery code, the 3 initial
   pics don’t occupy the full width, and so is for the next pic, which occupies 
   60% of the page, right aligned.
 * Here’s a screen fo the issue:
    [https://gyazo.com/9c40125bcb6c0da4397b1680ffad523f](https://gyazo.com/9c40125bcb6c0da4397b1680ffad523f)
 * I’m cutting off the js code, because with the only CSS worked better.
 * Thank you anyway, if you want to try with another code, I’ll be glad to test 
   it.
 * Bye!
    Ab
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Call to Action in Header Translation](https://wordpress.org/support/topic/call-to-action-in-header-translation/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [7 years ago](https://wordpress.org/support/topic/call-to-action-in-header-translation/#post-11689532)
 * Ok,noone answered so after a long search on the Web I managed to have this PHP
   code that now works well for both IT and EN languages.
 * I’m gonna post the code below so if someone has the same issue, he can find a
   solution (did not find any other working solution on the forum.
 * From the code I posted before, now the right code is:
 *     ```
       <?php if (is_front_page() || is_home()) {
           $curLang = substr(get_bloginfo( 'language' ), 0, 2);
           switch ($curLang) {
               case "it":
                   echo '<div class="cTaHeader"><a href="https://pannellitermici-srl.it/prodotti/">Scopri i prodotti di Pannelli Termici Srl!</a></div>';
                   break;
               case "en":
               default:
                   echo '<div class="cTaHeader"><a href="https://pannellitermici-srl.it/en/products/">Check out the products from Pannelli Termici Srl!</a></div>';
                   break;
           }
       }
       ?>
       ```
   
 * Hope someone will find that useful!
    Ab
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Call to Action in Header Translation](https://wordpress.org/support/topic/call-to-action-in-header-translation/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [7 years ago](https://wordpress.org/support/topic/call-to-action-in-header-translation/#post-11688719)
 * edit:
    for another site I’m using this php code that shows two different version
   for IT and EN, using the metaslider Shortcode:
 *     ```
       <?php if (is_front_page() || is_home()) {
           $curLang = substr(get_bloginfo( 'language' ), 0, 2);
           switch ($curLang) {
               case "it":
                   echo do_shortcode("[metaslider id=2569]");
                   break;
               case "en":
               default:
                   echo do_shortcode("[metaslider id=2725]");
                   break;
           }
       }
       ?>
       ```
   
 * How should I modify this code to show the two static portions of HTML I posted
   in the previous question?
 * Ab
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Astrid] problem with preloader](https://wordpress.org/support/topic/problem-with-preloader/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [7 years ago](https://wordpress.org/support/topic/problem-with-preloader/#post-11677545)
 * Hi Kharis Sulistiyono and thank you so much for your answer.
 * The main issue I was experiencing was caused by the lazy load of my images by
   Autoptimize plugin. In fact I was using the same CSS code you posted and tryied
   to add the delay by CSS3 to avoid jQuery. Eliminating the lazy load fixed the
   issue, but now I have to improve my loading speed, because on mobile I only have
   49% at google page speed insights.
    By the way thank oyu so much for your solution,
   that would work perfectly!
 * Ab
    -  This reply was modified 7 years ago by [andreaborin](https://wordpress.org/support/users/andreaborin/).
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Seventeen] featured image has no link](https://wordpress.org/support/topic/featured-image-has-no-link/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/featured-image-has-no-link/#post-11303878)
 * EDIT:
 * I managed to resolve the issue and now all is working.
    To resolve, I added in
   the Custom CSS the sequent code:
 * .post-thumbnail:after
    { position:relative; }
 * I understood making some tries with the F12 inspect instrument, that if the position
   was absolute as written before, the image had no link. Now the image is clickacble.
 * The issue is resolved, but I would still linke to ask if someone can explain 
   to me why that problem happened and how this quickfix works?
 * It would be really precious!
    AB
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Seventeen] Editing Background Color in colors-dark.css](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/#post-10948418)
 * Ok, Andrew
 * perfect explanation! Your work is really precious!
    We’ll talk soon.
 * Bye bye
    Andrea Borin
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Seventeen] Editing Background Color in colors-dark.css](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/#post-10948352)
 * Hi Andrew,
 * the main background problem is solved.
    Fort the second part, I just tried to
   copy the css modified code, adding the desired color in the place of #222 and
   now the borders are no longer visible!
 * Hope that’s the right solution, if it’s not, tell me more.
 * Anyway, thanks for the support.
 * Just wanted to ask you a thing to understand better:
    before writing to you, 
   I tried to add code to the additional CSS using only _body_ as a selector, but
   nothing happened. Why does it work using _body.class_?
 * Thank you Andrew and have a super-nice day!
    AB
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Seventeen] Editing Background Color in colors-dark.css](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/#post-10948306)
 * Hi Andrew,
 * just put the additional CSS on.
    The background color is now black and you can
   see the lighter borders on the images.
 * AB
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Seventeen] Editing Background Color in colors-dark.css](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/#post-10948257)
 * Hi Andrew,
 * I’m pasting here below the two parts of the code I modified yesterday, with the
   position in the file colors-dark.css.
 * Here’s the bg color part
 * From line 446 to line 451:
 * _
    body.colors-dark, .colors-dark .site-content-contain, .colors-dark .navigation-
   top, .colors-dark .main-navigation ul { background: #222;}
 * And here’s the part where I invisible the border of the images
 * From line 482 to 486:
 * _
    .colors-dark .entry-content a img, .colors-dark .comment-content a img, .colors-
   dark .widget a img { -webkit-box-shadow: 0 0 0 8px #222; box-shadow: 0 0 0 8px#
   222;}
 * If you need any furhter info just ask!
    AB
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Seventeen] Editing Background Color in colors-dark.css](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/#post-10948181)
 * Good morning Andrew,
 * I’m back in charge! So I put back the original file in assets/css and the site
   has the old #222 background color.
 * Which code have I to add in Additional Css?
 * Thank you for your support!
    AB
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Seventeen] Editing Background Color in colors-dark.css](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/#post-10946362)
 * Ok,
 * at this moment I’m leaving the office, so I can’t manage the matter now.
    I will
   write you after making the backup with the original colors-dark.css tomorrow 
   in the morning.
 * Thank you so much for your precious support Andrew,
    we’ll talk soon!
 * AB
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Seventeen] Editing Background Color in colors-dark.css](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/)
 *  Thread Starter [andreaborin](https://wordpress.org/support/users/andreaborin/)
 * (@andreaborin)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/editing-background-color-in-colors-dark-css/#post-10946295)
 * Hi Andrew,
 * thank you for your kind support.
    I can for sure undo the changes, but now I 
   found a quick-fix: just changed the color of box-shadow to the chosen color and
   the border now is no longer visible. I chose to modify the code directly, because
   trying to modify the background color on Additional CSS didn’t work at all, also
   using !important at the end of declaration.
 * However I have the backup file and easily can undo the changes, please go on 
   with your explanation: your solution will be for sure better than mine!
 * — the second problem (logged/not logged) is now fixed. —
 * AB

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

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