Jump to content

Archived

This topic is now archived and is closed to further replies.

alishabird

3D Ribbon in Pagelines DMS

Recommended Posts

alishabird

Hi, I would like to use a CSS 3D ribbon as section headers on my site. This would be no problem for me in in a wysiwyg html editor but I don't seem to be able to wrap my head around the layer of abstraction using the Drag and Drop DMS. Specifically where do I put the html. I would really appreciate any help.

<div class="ribbon-wrapper">
<div class="ribbon-front">
<!-- ribbon text goes here -->
</div>
<div class="ribbon-edge-topleft"></div>
<div class="ribbon-edge-topright"></div>
<div class="ribbon-edge-bottomleft"></div>
<div class="ribbon-edge-bottomright"></div>
<div class="ribbon-back-left"></div>
<div class="ribbon-back-right"></div>
</div>
 

Note: I am using CSS 3d ribbon generator: http://www.css3d.net/ribbon-generator/#preview

 

Thanks

 

 

 
 

Share this post


Link to post
Share on other sites
rmaxsg

i have test it. i fast one. however you need a bit knowledge  of CSS again.  If you have question please ask?

 

1.You see the HTML And CSS After click on the generate button

 

2.You put HTML in textbox Under DMS Sections  And put CSS in DMS Custom Code Tab

 

3. Is a little out of shape. you have use Firebug to do right adjustment.  (if you have your site live, i can help Rewrite CSS code make it fit nicely on your site)

 

This is image

Before look like this image

 

After Adjustment Using CSS  image

Share this post


Link to post
Share on other sites
alishabird

Thank you for your offer to help, I'd love it.  I anticipated that it would display as you've shown before the fix. I'm getting something even a little bit different. As you can see I've added the ribbon to "Keynotes and Public Speaking" on http://staging.garympomerantz.com/?page_id=9 

 

Thanks again for helping me out. :-)

Share this post


Link to post
Share on other sites
rmaxsg

End result the image

 

Be sure you find the line in your custom code tab. and Find exact code   .ribbon-back-left {   Change the Whole thing. until you see }

 

.ribbon-back-left {
      
position: absolute;
     
top: -10px;
     
left: -50px;
     
width: 30px;
    
height: 40px;
     background-color: #ccf;
     
z-index: 0;
}

.ribbon-edge-topleft,.ribbon-edge-bottomleft {
     
left: -30px;
    
border-color: transparent #99c transparent transparent;
}
 

Share this post


Link to post
Share on other sites
alishabird

Thanks again for you're help. I did get it to work, complete css below. And now that it is up I don't love it. lol We'll see if it stays or get tweaked some more.

 

/* ribbon style */
 
.ribbon-wrapper {
    position: relative;
    border-bottom: 0px solid #ccc;
    border-top: 10px solid #ccc;
    -moz-border-bottom-colors: rgba(0, 0, 0, 0.02) rgba(0, 0, 0, 0.04) rgba(0, 0, 0, 0.06) rgba(0, 0, 0, 0.08) rgba(0, 0, 0, 0.10) rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.14) rgba(0, 0, 0, 0.16) rgba(0, 0, 0, 0.18) rgba(0, 0, 0, 0.20);
    -webkit-border-bottom-colors: rgba(0, 0, 0, 0.02) rgba(0, 0, 0, 0.04) rgba(0, 0, 0, 0.06) rgba(0, 0, 0, 0.08) rgba(0, 0, 0, 0.10) rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.14) rgba(0, 0, 0, 0.16) rgba(0, 0, 0, 0.18) rgba(0, 0, 0, 0.20);
    -moz-border-top-colors: rgba(0, 0, 0, 0.02) rgba(0, 0, 0, 0.04) rgba(0, 0, 0, 0.06) rgba(0, 0, 0, 0.08) rgba(0, 0, 0, 0.10) rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.14) rgba(0, 0, 0, 0.16) rgba(0, 0, 0, 0.18) rgba(0, 0, 0, 0.20);
    -webkit-border-top-colors: rgba(0, 0, 0, 0.02) rgba(0, 0, 0, 0.04) rgba(0, 0, 0, 0.06) rgba(0, 0, 0, 0.08) rgba(0, 0, 0, 0.10) rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.14) rgba(0, 0, 0, 0.16) rgba(0, 0, 0, 0.18) rgba(0, 0, 0, 0.20);
    width: 300px;
    left: -20px;
}
 
 
.ribbon-front {
    background-color: #ccf; 
    height: 40px;
    width: 310px;
    position: relative;
    left:-10px;
    z-index: 2;
}
 
.ribbon-front h4 {
    margin: 0;
    padding: 5px 5px 0 5px;
    height: 0px;
}
 
.ribbon-front,
.ribbon-back-left,
.ribbon-back-right {
    -moz-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
    -khtml-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
    -webkit-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
    -o-box-shadow: 0px 0px 4px rgba(0,0,0,0.55);
}
 
.ribbon-edge-topleft,
.ribbon-edge-topright,
.ribbon-edge-bottomleft,
.ribbon-edge-bottomright {
    position: absolute;
    z-index: 1;
    border-style:solid;
    height:0px;
    width:0px;
}
 
.ribbon-edge-topleft,
.ribbon-edge-topright {
}
 
.ribbon-edge-bottomleft,
.ribbon-edge-bottomright {
    top: 40px;
}
 
.ribbon-edge-topleft,
.ribbon-edge-bottomleft {
    left: -10px;
    border-color: transparent #99c transparent transparent;
}
 
.ribbon-edge-topleft {
    top: -10px;
    border-width: 10px 10px 0 0;
}
.ribbon-edge-bottomleft {
    border-width: 0 10px 0px 0;
}
 
.ribbon-edge-topright,
.ribbon-edge-bottomright {
    left: 100px;
    border-color: transparent transparent transparent #99c;
}
 
.ribbon-edge-topright {
    top: 0px;
    border-width: 0px 0 0 0px;
}
.ribbon-edge-bottomright {
    border-width: 0 0 0px 0px;
}
 
.ribbon-back-left {
    position: absolute;
    top: -10px;
    left: -30px;
    width: 30px;
    height: 40px;
    background-color: #ccf; 
    z-index: 0;
}
 
.ribbon-back-right {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 0px;
    height: 40px;
    z-index: 0;
}
 
.masthead {
  position: relative;
  margin-bottom: 0px;
}
 
.masthead .inner {
    padding-top: 25px;
}
 
div.inner h1.masthead-title {
    margin: 0;
    padding: 0;
}
 
.masthead .masthead-title {
    margin-bottom: 9px;
    font-size: 36px;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 18px;
}
 
.masthead .masthead-tag {
    margin: 0;
    margin-bottom: 18px;
    margin-left: 5%;
    margin-right: 5%;
    font-size: 14px;
    line-height: 1.3em;
    opacity: .7;
    font-weight: 300;
}

Share this post


Link to post
Share on other sites
Rob

Your site comes up asking me to create a configuration file.  That's a WP installation failure.  Did you know this?


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
alishabird

I have been having problems with layouts breaking and sections doubling when I move between pages. not sure if it is related but what do I need to do to fix this?

 

Thanks.

Share this post


Link to post
Share on other sites
Rob

That's usually because:

1. No .htaccess file exists

2. The wp-config.php isn't set up.

3. Your WP installation wasn't correct to begin with.

 

So,

1. Find the .htaccess file via FTP. If it doesn't exist. make one as a text file and upload it, set permissions to 777.   If you do find one, make sure its permissions are 777.

2. Create a configuration file using the information provided by WP when pushing that button.

3. If you installed WP using an auto-installer, go to your site via FTP, follow the instructions under "How to Delete the WordPress Files and Folders" here:  http://www.tipsandtricks-hq.com/how-to-uninstall-and-reinstall-wordpress-245


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
alishabird

Hey Rob,

 

Thanks for your response.  I think you may have checked the link when we were testing out changing the permalink settings.  And it may have been that we were down for a bit when that happened.

 

Otherwise I think our install is sound.  We host on dreamhost and their one click installer has usually worked well in the past for us.

 

Thanks!

Share this post


Link to post
Share on other sites
Danny
One click installs aren't the greatest to be honest, I would always recommend manually installing Wordpress.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Bleuy
      By Bleuy+
      How can I get support on pagelines DMS? The product isn't that old and my skeleton themes aren't working and I can't get support in the same way? 
    • Bleuy
      By Bleuy+
      I have a number of legacy websites that are running on the above version of Pagelines DMS, where the template has stopped working. I am using a skeleton theme to all of them. What do I need to do to rectify this.
       
       
    • gstrahle
      By gstrahle+
      Hi,
      I am hoping to figure out how I can get my PageLines Full Nav to display layered in front of a sticky footer element on my website - 3keymedia.com
      I would like the Full Nav to overlay the entire screen when opening the menu as you will see when opening on a desktop the footer of nav content is cropped by the sticky footer.
       
      Thanks


    • Christian
      By Christian+
      Hi everyone, since Instagram had allowed to publish in different ratio formats (instead of only square ratio) the grams stripe has different heights. Can you tell me if i can fix it easily with some CSS?
    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I have noticed that my primary sidebar becomes intermittently invisible when browsing through various blog articles on michaelkummer.com/blog.
      See:
      https://www.dropbox.com/s/z646sgoa3mfjl1j/Screenshot 2018-07-12 15.57.46.jpg?dl=0 and https://www.dropbox.com/s/vdledzzgginvwgv/Screenshot 2018-07-12 15.57.57.jpg?dl=0
      Upon refresh, the sidebar appears. I have been using the following CSS code to hide the sidebar on mobile without any issues. 
      @media only screen and (max-width: 993px) {
      /* hide sidebars */
           .plsb {
              display: none !important;
          }
      }
      I tried to add the following CSS to force the sidebar to show on screens that are wider than 994 pixels but to no avail. Any clue what could be causing this issue?
×