How To Replicate Travel Demo Homepage

Posted in: Newspaper
Post count: 103

Hi,

I’m trying to replicate the home page used on the Travel Demo:

https://demo.tagdiv.com/newspaper_travel/

But whatever I do, I can’t figure out how to do it using Visual Composer. Seems like there is some custom/hidden CSS somewhere, but I can’t find it.

Any tips?

Post count: 103

Also, when I look at the text version of the demo homepage page, the first row is this:

[vc_row full_width="stretch_row_content td-stretch-content" el_class="td-travel-header" tdc_css="eyJhbGwiOnsiYmFja2dyb3VuZC1wb3NpdGlvbiI6ImNlbnRlciBjZW50ZXIifX0=" css=".vc_custom_1490019638737{background-image: url(https://demo.tagdiv.com/wp-content/uploads/2017/05/banner.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column][/vc_column][/vc_row]

Seems like there is custom CSS, but I can’t find it in the Visual Composer interface.

Post count: 22421

Hello,

Yes, the css is missing on other demos. Each demo has it;s own css stylesheed. In order to replicate the travel demo on another demo, please follow this topic: https://forum.tagdiv.com/topic/how-to-stop-top-header-image-from-stretching/

Thanks.

Post count: 103

Thanks, I’ve done that but the background image won’t load correctly (only looks like one pixel high on top of the featured items), even though it is a large, wide image at 1400x310px. Was there a recent change in VC that may have broken this technique or code?

Post count: 22421

Hello,

You will have to select a full height row from the row settings in order to see the image.

Thank you!

Post count: 103

I’ve done that but now the image is stretched vertically (to 740 pixels high even though the image is only 310px high) and does not stretch the full screen width. Here’s the first row:

[vc_row full_width="stretch_row" full_height="yes" parallax="content-moving-fade" parallax_image="624" el_class="td-travel-header"][vc_column][/vc_column][/vc_row]

Thanks

Post count: 103

Also, when I install the Travel demo content the first row shows this (with a real image URL):

[vc_row full_width="stretch_row_content td-stretch-content" el_class="td-travel-header" tdc_css="eyJhbGwiOnsiYmFja2dyb3VuZC1wb3NpdGlvbiI6ImNlbnRlciBjZW50ZXIifX0=" css=".vc_custom_1490019638737{background-image: url(http://imageurl_goes_here) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column][/vc_column][/vc_row]

Seems like there is some custom embedded CSS that is not accessible via Visual Composer.

Post count: 22421

Hello,

Please contact us via email at contact@tagdiv.com and we will take a look at the issue. Provide a link to your site and wp-admin so we can login and investigate.

Thank you!

Post count: 103

So it looks like, for whatever reason, the CSS wasn’t exposed in the Custom Code Section.

Had to copy / paste it from here:

https://pastebin.com/6FswHi6L

Viewing 9 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic.