andreaborin
Forum Replies Created
-
Forum: Plugins
In reply to: [Atomic Blocks - Gutenberg Blocks Collection] AB colums brokenChrome last version. Downgraded to 2.4 and all is working fine now.
Forum: Plugins
In reply to: [Atomic Blocks - Gutenberg Blocks Collection] AB colums brokenwow 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,
AbForum: Themes and Templates
In reply to: [Twenty Seventeen] Add an additional section to Front-PageDear Jarret,
thank you so much for your support!
The code worked perfectly for my purpose!Have a nice day, bye bye!
AbForum: Themes and Templates
In reply to: [Astrid] full width separatorHi 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/9c40125bcb6c0da4397b1680ffad523fI’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!
AbForum: Plugins
In reply to: [Polylang] Call to Action in Header TranslationOk,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!
AbForum: Plugins
In reply to: [Polylang] Call to Action in Header Translationedit:
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
In reply to: [Astrid] problem with preloaderHi 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 6 years, 9 months ago by andreaborin.
Forum: Themes and Templates
In reply to: [Twenty Seventeen] featured image has no linkEDIT:
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!
ABForum: Themes and Templates
In reply to: [Twenty Seventeen] Editing Background Color in colors-dark.cssOk, Andrew
perfect explanation! Your work is really precious!
We’ll talk soon.Bye bye
Andrea BorinForum: Themes and Templates
In reply to: [Twenty Seventeen] Editing Background Color in colors-dark.cssHi 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!
ABForum: Themes and Templates
In reply to: [Twenty Seventeen] Editing Background Color in colors-dark.cssHi 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
In reply to: [Twenty Seventeen] Editing Background Color in colors-dark.cssHi 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!
ABForum: Themes and Templates
In reply to: [Twenty Seventeen] Editing Background Color in colors-dark.cssGood 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!
ABForum: Themes and Templates
In reply to: [Twenty Seventeen] Editing Background Color in colors-dark.cssOk,
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
In reply to: [Twenty Seventeen] Editing Background Color in colors-dark.cssHi 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