Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
Zaerald Denze Lungos
@zd-zero
ye, i get it now, because I got confused, thank you guys
Ivan Ngundela
@ingundela
@MuhammedKarim I could use the exact the same code but it is not working becouse in this new project I’ve added uppder-bar
Ghost
@ghost~5a4a80acd73408ce4f859755
nice website bro, i like it @ingundela
I'm sorry idk what uppder-bar is
Muhammad Anis Ur Rahman
@MARahman49
@ingundela add that image to body background
Ghost
@ghost~5a4a80acd73408ce4f859755
Are you using bootstrap?
Muhammad Anis Ur Rahman
@MARahman49
@ingundela thats a wordpress portfolio?
Ghost
@ghost~5a4a80acd73408ce4f859755
@MARahman49 what coding have u done so far?
Ivan Ngundela
@ingundela
@MuhammedKarim it’s not wordpress
Ghost
@ghost~5a4a80acd73408ce4f859755
image.png
Muhammad Anis Ur Rahman
@MARahman49
@MuhammedKarim JS Java Andriod PHP
Ivan Ngundela
@ingundela
@MARahman49 done it but the upper-bar and navbar moved down
Ghost
@ghost~5a4a80acd73408ce4f859755
how can i make that text appear next to the image? in line with it...?
cool @MARahman49
@ingundela i didnt ask if its wordpress lol he asked
Muhammad Anis Ur Rahman
@MARahman49
add text-align:right property to image i think
Ghost
@ghost~5a4a80acd73408ce4f859755
highly doubt that would work bro @MARahman49
Muhammad Anis Ur Rahman
@MARahman49
try
Ghost
@ghost~5a4a80acd73408ce4f859755
didn't work bro
Lee
@LeeConnelly12
@MARahman49 You would make the image display inline-block with a set width of like 20% and then give the text a set width of like 80% width display inline block
Ghost
@ghost~5a4a80acd73408ce4f859755
@Masd925 could you advise me on this please?
oh ok @LeeConnelly12 lemme try it, thanks
CamperBot
@camperbot
muhammedkarim sends brownie points to @leeconnelly12 :sparkles: :thumbsup: :sparkles:
:cookie: 189 | @leeconnelly12 |http://www.freecodecamp.org/leeconnelly12
Lee
@LeeConnelly12
@MuhammedKarim I mean it depends on how the code is setup, have you got a link to the site or codepen we could see?
Muhammad Anis Ur Rahman
@MARahman49
hmmm
css sucks
need practice on daily basis
Markus Kiili
@Masd925
@MuhammedKarim Using float is one way.
Ghost
@ghost~5a4a80acd73408ce4f859755
@Masd925 @LeeConnelly12 both of yours combined made it work :)
just one issue, how do i make it look normal?
Ivan Ngundela
@ingundela
Any sugestion guys?
Ghost
@ghost~5a4a80acd73408ce4f859755
sorry bro, im a noob :( @ingundela
Lee
@LeeConnelly12
@MuhammedKarim You can do what @Masd925 suggested. Remove float right from the text and just float the image to the left
Muhammad Anis Ur Rahman
@MARahman49
@ingundela pen it
Ivan Ngundela
@ingundela
@MARahman49 added background image in body and I could get the full height image but all the content move down
Ghost
@ghost~5a4a80acd73408ce4f859755
check it now, it still doesn't work the normal way... @LeeConnelly12
Ivan Ngundela
@ingundela
@MARahman49 like to the center of the page...
how to fix that
Ghost
@ghost~5a4a80acd73408ce4f859755
@ingundela margin:0?
Lee
@LeeConnelly12
@MuhammedKarim You want to center it?
@MuhammedKarim Wrap the image and text in a div and then set the div to display block margin auto
Ivan Ngundela
@ingundela
@MuhammedKarim stillno luck mate
Ghost
@ghost~5a4a80acd73408ce4f859755
oh wait....i think i just got it, i just needed space between the image and text @LeeConnelly12
Lee
@LeeConnelly12
@MuhammedKarim For a space between the image and text you could add margin-right to the image
@MuhammedKarim Or margin-left to text
Muhammad Anis Ur Rahman
@MARahman49
@LeeConnelly12 thats pen is editable kindly help him mate
Ivan Ngundela
@ingundela

hero{

background: url('../img/foremost-hero.jpg');
background-repeat: no-repeat;
background-position: center center;
-webkit-background-size: cover;
background-size: cover;
position: relative;
top: 0;
bottom: 0;
height: 100vh;
z-index: 1;
}