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

    • chamois_blanc
      By chamois_blanc+
      Hello,
      Shouldn't the image PL5 component be using the srcset/picture css directives to pick the correct size for an image? or it does already and I don't know how to use it? Thank you for any advice or enlightenment.
    • Dan Haddock
      By Dan Haddock
      Plugins Active and installed: 
      Akismet Anti-Spam
      Coming Soon Page & Maintenance Mode by SeedProd
      Contact Form 7
      Cookie Law Info
      DMS Professional Tools  
      Enhanced Media Library  
      Flamingo
      Google Analytics for WordPress by MonsterInsights
      Google XML Sitemap
      Jetpack by WordPress.com
      Legull 
      Loginizer   
      MailChimp for WordPress
      PageLines Updater    
      Schema App Structured Data 
      Sucuri Security - Auditing, Malware Scanner and Hardening
      Uber reCaptcha    
      Yoast SEO
      Wordpress Version: 4.8.1
      Pagelines Version: 2.2.4
       
      Good Evening/Afternoon or Morning, 
      I am running into a problem with CSS styling not applying inside of most browsers (Safari, Firefox) when I am logged in to wordpress, and all browsers that I have tested when I am logged off and the site has been made public (Chrome, Firefox and Safari).
      As a result, I have managed to identify the probable cause. It looks as though these browsers are refusing to render my sites compiled CSS file due to it being a HTTP URL rather than HTTPS.
      I have attempted to change this URL to HTTPS in my browser, however it brings back an ERROR: File not found page - https://www.shortfilmblog.com/wp-content/uploads/pagelines/compiled-css-core-1505847507.css
      What would you suggest in this regard? Would this be resolvable from your end?
      Happy to provide any further details required.
    • Borries
      By Borries+
      I know this is not an easy problem. Maybe there is a easy solution.
      I have tryed to uses the existing solution, that I have found in the forum
      I changed the colours of my nav (simple nav) and the hover effect (a. hover).
      I really tryed to highlight the active/used link in the nav but I cant figure it out.
      I want it to be black when active.
      Any help would be appreciated. Thanks.
      http://www.marcborries.de  nav link: "Sinn & Selbst" 
    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a few weeks ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • tuciudadenred
      By tuciudadenred+
      Hi everyone, what happens is that the web page metrosalarmas.com has a google tags which I have not attacked where I can look to remove those tags and be able to locate the correct ones.
×