Posts by Giovanni Bernini • 1,074 points
36 posts
-
3
votes2
answers668
viewsA: Icon libraries
Murilo, currently I use icons in SVG for performance, for being stylizable and anime with CSS. Here is a list below for websites where you can find icons in SVG: Flaticon Leungwensen Svgporn (It’s…
-
4
votes2
answers899
viewsA: How to remove waste on printing screens
With pure CSS just create in your style sheet a @media print { } or you can also have a file part by part and for that just add a stylesheet link in head, as the code snippet below shows. <link…
-
1
votes1
answer263
viewsA: Problem ordering wordpress posts
Next Leo, assuming that this code of yours is working, I will take advantage of it to make it easier. I added query_posts( $query_string . '&orderby=title' ); to add a sort by title to the…
-
0
votes3
answers224
viewsA: Take all content from a div and write at the beginning of a file
Friend, I confess that I do not understand clearly what you are wanting to do. But I believe it will be solved like this You will save in a variable the ready HTML, put in a input type="hidden" and…
-
1
votes2
answers121
viewsA: Password renewal system
Friend, your logic had some problems, but I tried to make the most of what you used to avoid confusing you, the code got even uglier but the intention is you understand, if you understand the…
-
2
votes3
answers11941
viewsA: How to pass data from one input to another with html and javascript?
If you wanted to do this in PHP it’s quite simple! Would look like this: Pagina1.html <!DOCTYPE html> <html lang="pt"> <head> <meta charset="UTF-8">…
-
0
votes1
answer691
viewsA: Vertical alignment and inline display
So, there are several problems in your layout, but I would solve this problem by putting a fixed value in the height of the div logo, below. @charset "utf-8"; /* CSS Document */ @import…
-
1
votes1
answer405
viewsA: How to load a url inside the modal bootstrap?
I don’t know if I really understood what you need, but it would be like this! You can style with CSS iframe to better adapt to the modal! <div class="modal fade" tabindex="-1" role="dialog">…
-
0
votes1
answer20
viewsA: Media Query syntax error when compressing code
I changed your syntax a little and it worked! Follow the example: .img-header-home-01 { background-image: url("../imagens/home/slider-01.jpg"); background-size: cover; background-attachment: scroll;…
-
1
votes1
answer328
viewsQ: Run a function after purchase status confirmed
Guys, I’m with an e-commerce in hand using the CMS Wordpress + Woocommerce + Pagseguro(Version of Claudio Sanches) and would like to perform a change in the bd after the purchase is confirmed. This…
-
6
votes1
answer609
viewsQ: CSS animation does not work on Mozilla
Guys, I’m having a little problem with a CSS animation. I made it work normally in Chrome and even in IE, but in Firefox it gives a bug. I tried to put the prefix -moz- in some properties, but…
-
8
votes1
answer192
viewsQ: Malicious code not identified
Guys, I have a site that was hacked (Wordpress) and on all pages . php was added the code below: <?php $ahwwxolsc = '>>…
-
1
votes1
answer231
viewsA: Remove link from wordpress FORMCRAFT
Friend, I believe the fastest solution is this: Add this CSS class to your main style. a.powered-by { display: none!important; }…
-
1
votes1
answer4285
viewsA: pass javascript variable to catch with php post
Friend, I do not know if I understood 100% your question, but based on the title of the question I will answer you. <?php if ($_POST) { $teste = $_POST['teste']; echo "PEGUEI O VALOR: $teste"; }…
-
0
votes2
answers144
viewsA: Checkbox style changing label style. How to tidy up?
Add this CSS code. label.labelPequeno { line-height: normal; } This problem is happening because of the line-height it takes from the label class. See the example on jsfiddle. If it still doesn’t…
-
1
votes1
answer655
viewsA: Disable Debug Mode in Wordpress
Solution: This solution that I will put down is not one of the best, but as the define('WP_DEBUG', false);, define( 'SCRIPT_DEBUG', false ); and define( 'WP_DEBUG_DISPLAY', false); did not work, I…
-
0
votes2
answers540
viewsQ: Taking values of equal variables by URL
I got a little complicated in the title to explain my doubt, but I will try to be as clear as possible. I have this field: I need to get the values that were selected in the extension field, but…
phpasked Giovanni Bernini 1,074 -
1
votes1
answer75
viewsA: How to buy password typed with password encrypted in Wordpress
Very easy to solve this problem, there is a function in wordpress that facilitates a lot, follows the bottom: wp_check_password( $password, $hash, $user_id); $password, receive decrypted password.…
-
0
votes1
answer75
viewsQ: How to buy password typed with password encrypted in Wordpress
I am developing a system with Wordpress and need to verify the current user password on the edit password screen, however I am having problems with the encryption used in wordpress. I tested the…
-
3
votes1
answer4125
viewsQ: How to add an image popup when accessing the site
I would like to do a popup similar to that of Kabum, but without a form, with only one image and the option to close. I searched and found this code: <a href="#"…
-
0
votes2
answers497
viewsA: How to make stylized mega menu in Wordpress?
My solution was to use a plugin called Ubermenu, as I had no time I opted for faster. To install it is kind of complicated, need to change some things in your code, but helped me a lot and continues…
-
3
votes2
answers497
viewsQ: How to make stylized mega menu in Wordpress?
I need to make a mega menu similar to the product menu of this site: http://www.bmcsoftware.com.br/ I use Wordpress on the site I am working at the moment, I do not know if there is plugin for this,…
-
5
votes3
answers29544
viewsA: How do you get it in the headline?
Try this solution here: <header class="clearfix"> <div class="logo" style=" background-color: #59218D; width: 20%; height: 100%; position: absolute; float: left; z-index: 10000; ">…
-
5
votes3
answers4269
viewsQ: Detect browser language and redirect
I am using Wordpress and wanted to redirect my page to the "/br/","/es/" versions, when the browser language is one of these and when it is not it stay in the default page, that is the ". with". I…
-
3
votes2
answers215
viewsQ: Using Multi Language in Wordpress
I’m developing a website in Wordpress, and need some content on the site (menus, photos and etc) to be in 3 different languages. How is it possible to do this without creating a new Wordpress for…
wordpressasked Giovanni Bernini 1,074 -
0
votes2
answers3379
viewsQ: How to catch a . JSON from a JS URL
I looked at some examples of jQuery documentation, but I haven’t been able to. Code: <!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8">…
-
2
votes1
answer118
viewsQ: Help in passing a jsFiddle code to an HTML file
I have a code in this jsFiddle which I changed, but now I’m having trouble passing it to an HTML file. My code: <!DOCTYPE html> <html lang="pt-BR"> <head> <meta…
-
11
votes2
answers51084
viewsQ: Sliding effect on anchor links
I have a page Onepage and the anchor links of the menus when clicked them only "jump" to the screen section further down, but I wanted them to slide smoothly up to the intended anchoring section. I…
-
0
votes0
answers42
viewsQ: How to submit a php form, without reloading the page
When I click submit in the form, I wanted it to validate the fields, with PHP, but not reload the page. I’m using this code: <?php if (isset($_POST["submit"])) { $name = $_POST['name']; $email =…
-
1
votes2
answers795
viewsQ: Structure of a chained JSON
I was developing a web application, where I needed to use JSON, I had some problems, but I got it. Now I need to leave everything on the page of the dynamic application, so everything has to be…
-
9
votes2
answers5337
viewsQ: How to filter data from a JSON with JS?
Guys, wanted to know how to make a "select" inside a JSON file using JS. Example: I have a table below using data coming from a JSON file, but I wanted to make a filter so when click search, it drop…
-
6
votes5
answers19009
viewsQ: How to keep the footer always down there
I wanted to know how to keep the footer of the site always at the bottom of the site, even if the content of the site is little, as the example below. If I put a margin top, it doesn’t stay down…
-
4
votes4
answers2318
viewsA: H1 stylized with center edge with css
Buddy, I don’t know if you’re talking about the edge of the products, or about this HR next to the highlights. But if it’s about the products, it’s a simple border: solid 1px; The highlights I would…
-
3
votes1
answer366
viewsQ: How to put a link (href) in a piechart
How can I put a link somewhere in the graphic with Google Charts, a different link for each division of the graphic. I’m wearing a Piechart, follows link from jsfiddle and of page where I got the…
-
2
votes2
answers2675
viewsA: BD connection via php returning json to javascript
I redid the JS code, but I need to fix the connection, I made some changes but it returns it in php: [{"erro": "Há algum erro com a busca. Não retorna resultados"}] Was it something in the table…
-
0
votes2
answers2675
viewsQ: BD connection via php returning json to javascript
Guys I’m trying a connection with bd via php and returning a json to my javascript, but there’s something I’m forgetting or doing wrong, because I’ve tried to do several ways but never returns the…