Devilman084
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Custom CSS Plugin] Tuck Back Modifications CSS – Post LayoutHi John,
– Appearance > Custom CSS
– WordPress: 4.9.3Whenever I reactivate your plugin the modifications appear. I don’t know how to turn back. I thought that deleting the CSS in the box would restore everything like before.
Thanks!
??
What does it mean? There is a not correct way to open it?
I open the section and I copy all the script; probably it’s the previous version that I have not updated. I don’t know, I have download the theme about 2 months ago.
https://s16.postimg.org/xxvc65vz9/zerif_ribbonright_section.jpg
Thanks! ??
Sorry, but I can’t find that at line 18.
What script I have to change?
Thanks! ??
<?php $zerif_ribbonright_text = get_theme_mod('zerif_ribbonright_text'); if( !empty($zerif_ribbonright_text) ): echo '<section class="purchase-now" id="ribbon_right">'; echo '<div class="container">'; echo '<div class="row">'; echo '<div class="col-md-9" data-scrollreveal="enter left after 0s over 1s">'; echo '<h3 class="white-text">'; echo __($zerif_ribbonright_text,'zerif-lite'); echo '</h3>'; echo '</div>'; $zerif_ribbonright_buttonlabel = get_theme_mod('zerif_ribbonright_buttonlabel'); $zerif_ribbonright_buttonlink = get_theme_mod('zerif_ribbonright_buttonlink'); if( !empty($zerif_ribbonright_buttonlabel) && !empty($zerif_ribbonright_buttonlink) ): echo '<div class="col-md-3" data-scrollreveal="enter right after 0s over 1s">'; echo '<a href="'.$zerif_ribbonright_buttonlink.'" class="btn btn-primary custom-button red-btn">'.__($zerif_ribbonright_buttonlabel,'zerif-lite').'</a>'; echo '</div>'; endif; echo '</div>'; echo '</div>'; echo '</section>'; endif; ?>
It works! Thanks!
I didn’t think about it! ??
Thanks!
It was the first time that I edit the script and I was a little afraid about it, but it was simple!
WordPress editor with the various sections it’s very useful for newbie!
I replace the strings ..and it works!
..but only for the bottom_button (that now it’s ok!); instead, in the right_button I can only change the first string
echo ‘<section class=”purchase-now”>’;
because the other one doesn’t exist. I can’t find this:
echo '<section class="purchase-now ribbon-without-button">'; endif;
Can you help me?
I understand and I already knew it.
I appreciate the help ..but you have miss the point. ??
I want to anchor the button to the section of the same page in order that:
when i click the RED button the page scrool to the RED section ..and if i click the GREEN button the page scrool automatically to the GREEN section! Simple!That is the originary function of the theme!
I don’t want to link to another page, i want anchor a section of the same page!
The links must be something like this, ..but doesn’t function anymore!
https://www.intrecciculturali.it/teatro/#ribbon_bottom
https://www.intrecciculturali.it/teatro/#ribbon_rightI need an answer, please! ??
I thinked it was simpler..
Hi Hardeep,
thanks for the answer!
I have already tried to insert the link with the anchors but nothing happens ..and i begin to feel stupid!
The site is: https://www.intrecciculturali.it/teatro
I added the anchors to those link in the apposite space of the “Big Title Section”, like this:
https://www.intrecciculturali.it/teatro/#ribbon_bottom
https://www.intrecciculturali.it/teatro/#ribbon_rightWhen I click the green and red buttons doesn’t scroll to the apposite sections of the page.
Check it, please!
Thanks!
In few words, the problem is:
the “RED button link” doesn’t anchor the “RED section”
the “GREEN button link” doesn’t anchor the “GREEN section”How can i fix?
I can’t make it simpler! ??
Thanks for the answer! ..but I think you don’t understand the point. Probably it’s my fault, I’m italian and my english isn’t perfect! ??
I can’t upload a screenshot, so I try to explain better by words.
In the section Big Title section (of the personalization sidebar) there are 5 text boxes. Two of them are “Red button link” and “Green button link” that link the buttons to a page or anchor the buttons to the sections of the front page(the red and green ones).
I don’t remember the “text” with the hashtag after the address (..sorry but i don’t know the techinical name) that i have to insert to anchor the button to the green and red sections.
https://adress/#exammple
When I installed the template the two #.. were already there and anchor perfectly the sections, but doing test I erase them.
I hope having explained better the point.