Assistance for my personal portfolio

Assistance for my personal portfolio
0

#1

I have not full completed my personal portfolio but I am having problem moving my h1(Ganenthra Ravindran) to the center. I have tried all paddings and margins but have been unable to do so. Below is my link.


#2

It’s already on the center.


#3

Sorry, I meant the mid section of the entire page. I would like it to be in the same position but lower.Thanks.


#4

You can add the following to your pageOne class definition:

  display: flex;
  justify-content: center;
  align-items: center; 

Another option is to add the following to .block:

  display: inline-block;
  vertical-align: middle;

and the following to .pageOne:

text-align: center;

and add the following selector:

.pageOne:before{
  content: ' ';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

#6

Sweet!! Thanks a lot sir!!