Hi,
when taking the "op-personal" template as a basis: is there an easy way to align all the text content in the slider to the right margin instead of the left one?
Best regards,
o
Hi,
when taking the "op-personal" template as a basis: is there an easy way to align all the text content in the slider to the right margin instead of the left one?
Best regards,
o
Hello,
This is Definitely Possible. Please consider using the following code replacing the Existing Code (from .vertical-middle Container):
<div class="vertical-middle tright ignore-header">
<div class="emphasis-title bottommargin clearfix">
<h1 class="uppercase t700" style="font-size: 52px; letter-spacing: 10px; word-spacing: 5px;">Darcy Shearer</h1>
<span class="uppercase" style="color: #888;letter-spacing:10px; font-size: 18px">Graphics Designer</span>
<div class="clear"></div>
<p class="lead topmargin fright" style="max-width: 600px; line-height: 1.8; color: #AAA">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Id hic neque alias! Accusamus, perspiciatis. Dicta accusantium, consequuntur maxime vour sequi cumque, labore consequuntur veritatis animi sint non voluptatibus.</p>
</div>
<div class="topmargin">
<a href="#" class="social-icon inline-block si-small si-rounded si-colored si-facebook" title="Facebook">
<i class="icon-facebook"></i>
<i class="icon-facebook"></i>
</a>
<a href="#" class="social-icon inline-block si-small si-rounded si-colored si-twitter" title="Twitter">
<i class="icon-twitter"></i>
<i class="icon-twitter"></i>
</a>
<a href="#" class="social-icon inline-block si-small si-rounded si-colored si-github" title="Github">
<i class="icon-github"></i>
<i class="icon-github"></i>
</a>
<a href="#" class="social-icon inline-block si-small si-rounded si-colored si-pinterest" title="Pinterest">
<i class="icon-pinterest"></i>
<i class="icon-pinterest"></i>
</a>
</div>
</div>This will definitely work fine. Let us know if we can help you with anything else or if you find any further issues.
Hi,
thank you, worked like a charm!
Maybe you could also give me a tip for sorting out the following issue:
I want to include a very primitive, responsive, list-based vertical timeline. For that purpose, I've included the following in op-personal.html:
<section id="page-section">
<div class="container clearfix">
<h1>Curriculum Vitae</h1>
<span>Education timeline</span></br></br>
<ul class="timeline">
<li>
<p class="timeline-date">2009 - 2015</p>
<div class="timeline-content">
<h3>Event A</h3>
<p>Short description</p>
</div>
</li>
<li>
<p class="timeline-date">2008 - 2009</p>
<div class="timeline-content">
<h3>Event B</h3>
<p>Short description</p>
</div>
</li>
<li>
<p class="timeline-date">2007 - 2008</p>
<div class="timeline-content">
<h3>Event C</h3>
<p>Short description</p>
</div>
</li>
</ul>
</div>
</section>The CSS (placed in custom.css) looks as follows:
.timeline {
list-style: none;
}
.timeline > li {
margin-bottom: 60px;
}
/* for Desktop */
@media ( min-width : 640px ){
.timeline > li {
overflow: hidden;
margin: 0;
position: relative;
}
.timeline-date {
width: 110px;
float: left;
margin-top: 20px;
}
.timeline-content {
width: 75%;
float: left;
border-left: 6px #f6f6f6 solid;
padding-left: 30px;
}
.timeline-content:before {
content: '';
width: 12px;
height: 12px;
background: #3CB5F9;
position: absolute;
left: 107px;
top: 24px;
border-radius: 100%;
}
}(The pixel values might require some change to be consistent with the values you apply for making the template responsive.)
When using this code outside the template, timeline-date and timeline-content are perfectly aligned. Within the template, however, the timeline-content is slightly shifted upwards. What could cause that conflict? Should I somehow reset certain styles first?
Sorry for that basic question, but I'm a bloody beginner.
Best regards,
o
Hello,
maybe you could give me a tip for sorting out the following issue:
I want to include a very primitive, responsive, list-based vertical timeline. For that purpose, I’ve included the following in op-personal.html:
<section id="page-section">
<div class="container clearfix">
<h1>Curriculum Vitae</h1>
<span>Education timeline</span></br></br>
<ul class="timeline">
<li>
<p class="timeline-date">2009 - 2015</p>
<div class="timeline-content">
<h3>Event A</h3>
<p>Short description</p>
</div>
</li>
<li>
<p class="timeline-date">2008 - 2009</p>
<div class="timeline-content">
<h3>Event B</h3>
<p>Short description</p>
</div>
</li>
<li>
<p class="timeline-date">2007 - 2008</p>
<div class="timeline-content">
<h3>Event C</h3>
<p>Short description</p>
</div>
</li>
</ul>
</div>
</section>The CSS (placed in custom.css) looks as follows:
.timeline {
list-style: none;
}
.timeline > li {
margin-bottom: 60px;
}
/* for Desktop */
@media ( min-width : 640px ){
.timeline > li {
overflow: hidden;
margin: 0;
position: relative;
}
.timeline-date {
width: 110px;
float: left;
margin-top: 20px;
}
.timeline-content {
width: 75%;
float: left;
border-left: 6px #f6f6f6 solid;
padding-left: 30px;
}
.timeline-content:before {
content: '';
width: 12px;
height: 12px;
background: #3CB5F9;
position: absolute;
left: 107px;
top: 24px;
border-radius: 100%;
}
}(The pixel values might require some change to be consistent with the values you apply for making the template responsive.)
When using this code outside the template, timeline-date and timeline-content are perfectly aligned. Within the template, however, timeline-content is slightly shifted upwards. What could cause that conflict? Should I somehow reset certain styles first?
Sorry for that basic question, but I’m a bloody beginner.
Best regards,
o
Hello,
We have just checked out your Codes and apparently there are no issues. The Only thing is that there is a margin-top CSS Property added to the .timeline-date Element which makes the .timeline-content to appear slightly upwards. It is recommended that you make this adjustments accordingly as we use the Latest Reset CSS Standards so there is nothing to worry about and will not affect your Website adversely. Thanks for your Patience.
Do let us know if we can help you with anything else or if you find any further issues with Canvas.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard