[Solved] Remove blank space in WordPress theme

I’ve looked a bit over your website. Firstly, you want to remove the 170px right-margin from .content. Than you can edit the width of .sidebar-primary to fit in the space. @media all and (min-width: 1140px) { .site-container .content { margin-right: 10px; } .site-container .sidebar-primary { width: 330px; } } As a sidenote, I noticed your … Read more

[Solved] Issues in image opacity in hover state

Check this: HTML <div class=”col-3″> <div class=”popular”> <a href=”#”><img src=”http://s10.postimg.org/4zqkz9rxl/saina_2.png”/></a> </div> </div> CSS div.col-3 { -webkit-column-count: 3; -webkit-column-gap: 10px; -moz-column-count: 3; -moz-column-gap: 10px; column-count:3; column-gap:10px; margin:20px 30px; } .popular { overflow:hidden; } .popular:hover { background:#FF1493; } .popular:hover img { opacity:0.7; } Fiddle Demo 4 solved Issues in image opacity in hover state

[Solved] How to create a pure css slideshow? [closed]

How about this Fiddle #container{ background:green; width:300px; height:300px; overflow:hidden; } .img{ -webkit-animation:up 20s infinite; } .img{ height:300px; } @-webkit-keyframes up{ 0%{transform:translate(0,0)} 20%{transform:translate(0,-300px)} 40%{transform:translate(0,-600px)} 60%{transform:translate(0,-900px)} 80%{transform:translate(0,-1200px)} 100%{transform:translate(0,-1500px)} } <div id=”container”> <div class=”img “> <img src=”http://placekitten.com/300/301”> </div> <div class=”img “> <img src=”http://placekitten.com/300/302”> </div> <div class=”img “> <img src=”http://placekitten.com/300/303”> </div> <div class=”img “> <img src=”http://placekitten.com/300/304”> </div> <div class=”img … Read more

[Solved] HTML form string error [closed]

Just add a hidden value as shown below and remove the ‘?req_flag=0’ from the action attribute. <form method=”get” action=”send_req.php”> <input type=”text” name=”f_e_mail_add” value=”Enter email of your friend” size=”35″ /> <input type=”hidden” id=”req_flag” name=”req_flag” value=”0″ /> <input type=”submit” value=”Send Request” /> </form> solved HTML form string error [closed]

[Solved] :before psuedo element not working on h1 tag

One solution is to use positioning relative to #container to achieve this: Demo Fiddle <div id=”container”> <div class=”theLines”> <h1>Line 1</h1> <h1>Line 2</h1> <h1>Line 3</h1> <h1>Line 4</h1> </div> </div> CSS #wrapper { max-width: 800px; margin:0 auto; background-color: rgb(201, 238, 219); } #container { position:relative; /* <– set ‘base’ positioning */ } .theLines { width: 300px; border: … Read more

[Solved] Learning old html tags [closed]

If you want to build sites from scratch, focus on the newest HTML version. If you want to look at older sites, yes, it’s a good idea to learn older HTML tags. There are a lot of older HTML pages that are still up and running. solved Learning old html tags [closed]

[Solved] HTML Overflow to a new line [closed]

Yes it’s possible, simply float left the two first inputs, your code stays like this: HTML: <div style=”width:300px”> <input type=”text” id=”t1″ width=”140px”> <input type=”text” id=”t2″ width=”140px”> <input type=”text” id=”t3″ width=”140px”> </div> CSS: #t1{ float:left; } #t2{ float:left; } FIDDLE 4 solved HTML Overflow to a new line [closed]

[Solved] Is there any way to Style Php variable with CSS?

I think im getting what you are asking for here; // Set an array to hold all your errors $messages = []; // Define what inputs to validate $fields_to_check = [’email’, ‘username’, ‘password’]; // Loop through and check for empty values foreach($fields_to_check as $field) { // Fill $messages with errors if validation failed. if (!isset($_POST[$field]) … Read more

[Solved] Differences in these syntaxes for CSS? [closed]

The # symbol indicates that it’s an ID selector, so it will only apply to the single element that has that particular ID on the page. You’re incorrect about example A – that’s actually a selector for the element with the ID input, not a general selector for all inputs. The . symbol indicates that … Read more

[Solved] POSITION STICKY CSS

If you want to avoid such overlap you need to consider more container where you wrap each date add its messages in the same container. Doing this, the previous day will scroll before the next one become sticky * { margin: 0px; padding: 0px; } .chat { overflow: auto; border: solid 1px black; left: 50%; … Read more

[Solved] How to target certain text to make bold using css

Assuming the “Badge Name: ” phrase is constant, one approach is using CSS :before pseudo element to generate the content as follows: EXAMPLE HERE .tag:before { content: “Badge Name: “; font-weight: bold; } Hence you could remove that phrase from your script: wrapper.append(‘<div class=”tag” >’+ item.badgename + ‘</div>’+ ‘<br>’); Another option is wrapping that phrase … Read more

[Solved] How is max width being set on this site? [closed]

HTML <div class=”container”> <div class=”inner-w”> Stuff in your inner column </div> </div> CSS body { margin: 0; } .container { background-color: #f06; } .container .inner-w { max-width: 50em; /* or 400px etc */ margin-right: auto; margin-left: auto; } a jsFiddle that also shows this column width – and how it can be different in each … Read more

[Solved] Creating Image slider using only jQuery

Mabye something like this: jQuery(document).ready(function () { var images = []; var loop; var i = 0; images[0] = “https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ1GfA01TRDgrh-c5xWzrwSuiapiZ6b-yzDoS5JpmeVoB0ZCA87”; images[1] = “https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQQSyUWiS4UUhdP1Xz81I_sFG6QNAyxN7KLGLI0-RjroNcZ5-HLiw”; images[2] = “https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT_E_OgC6RiyFxKtw03NeWyelfRgJ3Ax3SnZZrufNkUe0nX3pjQ”; $(‘img’, ‘.maindiv’).mouseover(function () { //Get divs inside main div and reverse them, so right is first var divs = $($(‘div’,’.maindiv’).get().reverse()); //Set up loop loop = setInterval(function(){ divs.each(function(key, div){ if … Read more

[Solved] Can’t set text margin to make it lower

I recommend you to look up a lot of web based tutorials before you go any further, as web based development is vast (esp for a complete beginner) I’ve created a quick demo of margin and padding examples below, (I would post as a comment, although for demonstration purposes, this might be better) html{background:gray;} div … Read more