Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Need help fast. Can't align two responsive elements.

Contributor ,
Oct 16, 2017 Oct 16, 2017

Good morning,

I'm having issues with a responsive template and can't get my horizontal line or the button to behave like the copy. Would like both to be flush with text on left side of page. I've tried everything I can think of.

Here is the live version I'm working on.

dc advocacy - premier inc.

699
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Oct 16, 2017 Oct 16, 2017

Create your own custom css style sheet and link it to the page AFTER the link to 6389_main.min.css file

Add the below css selectors to it:

.hero .buttons {

width: 90%;

margin: 0 auto;

max-width: 1000px;

}

.headline hr {

border-top: 5px solid #ffb819;

width: 30%;

float: left;

}

.headline h1 {

clear: both;

}

Then move the <hr> tag from its current position in the code:

<div class="vertical_center">

              <div>

             <hr>

                   </div>

To directly AFTER the opening 'headline' div tag:

<div c

...
Translate
LEGEND ,
Oct 16, 2017 Oct 16, 2017

Create your own custom css style sheet and link it to the page AFTER the link to 6389_main.min.css file

Add the below css selectors to it:

.hero .buttons {

width: 90%;

margin: 0 auto;

max-width: 1000px;

}

.headline hr {

border-top: 5px solid #ffb819;

width: 30%;

float: left;

}

.headline h1 {

clear: both;

}

Then move the <hr> tag from its current position in the code:

<div class="vertical_center">

              <div>

             <hr>

                   </div>

To directly AFTER the opening 'headline' div tag:

<div class="headline">

              <hr>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 16, 2017 Oct 16, 2017
LATEST

Thanks so much for your help and your quick response!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2017 Oct 16, 2017

Adjust Button margins as required.  Currently, it's centered in the parent container.

.hero .buttons {

    width: 90%;

    margin: 0 auto;

    max-width: 700px;

}

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 16, 2017 Oct 16, 2017

Thank you Nancy!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines