Posts by Chun • 7,440 points
183 posts
-
1
votes1
answer43
viewsA: You doubt Draggable’s position
That’s because property is being applied position: relative; together with the id #logoWrapper on the page of Administrative Panel, which I assume is because of class="ui-draggable" implemented on…
-
2
votes1
answer593
viewsA: How to change the color of a FLAT-UI select without using Less?
I was there taking a look at jsFiddle and I could see where this style is applied. To change the color of background green for another color, just apply this piece of CSS code: /* Muda a cor verde…
-
2
votes2
answers71
viewsA: Unexpected behavior when centralizing div
This is because property display: table; was added to the class .nome-center. There are a lot of ways to solve this, but the quickest and most "Hacky" to solve this in this case would be to give a…
-
3
votes3
answers692
viewsA: Inline display does not work
This is because it is necessary to use also media queries in order to achieve the intended: .info li { display: inline-block; width: 180px; vertical-align:top; } /* Isto aplica o CSS desejado para…
-
0
votes1
answer234
viewsA: how to include the video source using javascript
I don’t think it’s possible to make the video URL not appear in the source code when the element is inspected, but you can always obfuscate the code making it harder to read with the naked eye using…
-
1
votes3
answers3573
viewsA: How to display only half of the div background-color
I don’t know if you want it to be 50% of div in terms of being horizontal, or if in terms of 50% being vertical. so I’m going to post here two possible ways to do this both ways. This will be the…
-
3
votes1
answer3192
viewsA: Container that adjusts to 100% window height and width
This can be done using the unit vh, adding height: 100vh; to the class you want its size to be automatically adjusted to 100% of the current screen size, on any device or resolution. With vh/vw, we…
-
0
votes1
answer101
viewsA: Hierarchy of Wordpress pages
How are you using wordpress, the easiest solution to choose to do this would be to use a plugin breadcrumbs as an example: Breadcrumb Breadcrumb Navxt You can search for more plugins to your liking…
-
4
votes1
answer105
viewsA: Is there any way for a div to assume the role of the scroll?
You can use the Range Input as a custom scrollbar You can read more about this on: Jquery Tools Rangeinput (source of the code below) Example in jsFiddle: http://jsfiddle.net/qw75wgeg // get handle…
-
2
votes1
answer1065
viewsA: Get the div from within to "overlap" the father
If you remove the width of any of the classes .container or .containerNome this undesired effect of strapolar div pai will disappear: .containerNome{ height: 23px; border: 1px rgb(0, 0, 0) solid;…
-
1
votes1
answer2148
viewsA: How to add more fields in Wordpress users registration wp-login
As I say, sometimes it just takes a little research. I found a plugin that makes exactly the prentendido, called: Cimy User Extra Fields This plugin offers the option to add things like: text,…
-
2
votes1
answer53
viewsA: How to manipulate margin of a Flat-UI video
This margin is showing up because it is implemented in: .video-js { position: relative; width: 100% !important; height: auto !important; padding-bottom: 47px; /* Está a ser implementado aqui nesta…
-
13
votes3
answers55067
viewsA: Script to go back to the previous updated page?
You can do it in the following ways: <a href="javascript:history.back()">Go Back</a> or using: <script> document.write('<a href="' + document.referrer + '">Go…
-
2
votes2
answers601
viewsA: What is Ufon and what is it for?
Cufon is an old way of using "unsafe" fonts before the @font-face. She was a Javascript technique used as an alternative to Webfonts and sIFR. What it does is superimpose real text with an image, so…
-
8
votes2
answers601
viewsQ: What is Ufon and what is it for?
Recently when I was viewing the source code of an old Wordpress theme, I came across a code Avascript that contained the following: Cufon.replace('#navigation > ul > li > a', { textShadow:…
-
0
votes2
answers143
viewsA: Javascript does not take clicked link with the same ID
Try using the click Event instead of the ready, so this action is triggered each time a link click occurs. <script type="text/javascript"> // main.js var client = new ZeroClipboard(…
-
2
votes2
answers1826
viewsA: Is it possible to hide the link bar displayed in the bottom corner of browsers?
This cannot be done only using pure HTML, but it can be done using Javascript as follows: <span id="anchorID" >Ir para a página</span> $("#anchorID").click(function() { window.open(…
-
47
votes1
answer55331
viewsA: How to style the scroll bar?
For browsers webkit (Chrome, Safari, Opera 15+): ::-webkit-scrollbar { /* 1 */ } ::-webkit-scrollbar-button { /* 2 */ } ::-webkit-scrollbar-track { /* 3 */ } ::-webkit-scrollbar-track-piece { /* 4…
-
7
votes2
answers24209
viewsA: Bootstrap input width using form-inline
Simple, you can do this using the property min-width in your CSS: .form-control{min-width:300px;} or by implementing it directly into HTML: <input type="email" class="form-control" id="email"…
-
1
votes1
answer286
viewsA: Menu does not stick underneath the header
There are some mistakes and improvements that should be made in your code, such as not using two ids in the same div: <video id="Video1" id="bgvid" autoplay loop> Here you should wear only one…
-
6
votes2
answers1911
viewsA: Hexagon with css - blurred image
You can do what you want in the following ways, using the <img> tag as you already have in your question, or using the image as background. Here’s an example using the <img> tag:…
-
1
votes1
answer74
viewsA: Inline display does not work properly with span
This is because when the screen resolution is too small, the list - also known as li will automatically be split into multiple lines because the image and/or the li are too big to fit on the screen…
-
3
votes2
answers480
viewsA: How to keep the element in the final position of the animation?
Try adding animation-fill-mode: forwards;, for example: -webkit-animation: toRight 1.0s forwards;
-
1
votes2
answers327
viewsA: setTimeout or setInterval?
I was able to solve the problem - by checking the Parent/wrapper div has the mouse inside it using .hover() instead of the $( document ).ready() that is suggested by the plugin For example:…
-
0
votes2
answers327
viewsQ: setTimeout or setInterval?
I am wearing one tooltip plugin in jQuery to modify attributes title="" multi-class. Everything was going fine until I realized a problem - I’m using a button that changes class as it’s clicked, and…
-
1
votes1
answer287
viewsA: How to ignore the height of an element inside a CSS automatic height box?
This is happening because you’re wearing position:relative; in your title h2. this can be solved by moving the attribute position:relative; for your li and giving a position:absolute; to your h2…
-
2
votes2
answers1376
viewsA: Hide Pop Up Lightbox div when Clicking an Element/button
.stopPropagation(); should do the work as for example here at this link. However use .stopPropagation(); sometimes it can be bad. So I would do it another way. I would first create a "layer" of…
-
6
votes2
answers2295
viewsQ: How to find CSS images and styles that are not used on a website?
When developing large-scale websites or resuming other people’s projects where there are hundreds or thousands of lines of CSS styles, it can become complicated to review and clear code to remove…
-
9
votes3
answers1436
viewsA: Information when Hovering Mouse in Photo
Several responses appeared here while I was writing my suggestion, but I decided to post here in the same other way as you can do the intended only using CSS. Example in Jsfiddle:…
-
5
votes1
answer10173
viewsA: Centralize div container materialize
There are several ways to center both horizontally and vertically a div. In this case as we do not even know the values height nor the value width of any class container or center-align we can use a…
-
1
votes5
answers3979
viewsA: Footer alignment
This problem is due to footer placement in your index.php file. The footer is inside the ID #container At the bottom of the page remove everything from line 144 to the end, which is from: (<div…
-
1
votes1
answer1076
viewsA: Facebook share button displaying wrong information in "box_count"
I don’t know if I got it right but from what I’ve noticed you want to show share buttons on Frontpage for the proper posts/posts is this?! use this instead of loading more JS on your wordpress site:…
-
3
votes5
answers25953
viewsA: <input type="image" ...> with LINK and HOVER
You can achieve the desired as follows: <input type="button" class="botao"> .botao { background: url("http://i.stack.imgur.com/dfGe4.png"); height:35px; width:90px; border:0; outline:0;…