Custom HTML/CSS in page

Posted in: Newsmag
Post count: 90

Hello, I’m customizing a page, using the HTML module of Visual Composer (to put some “<div class=”custom class”>etc.) and some custom CSS in the chide theme’s CSS.

I’m using custom layout (e.g. 1/4 columns etc) styled with my custom CSS, could this lead to unexpected problems?
I mean, I’ve noticed that most of the layout of visual composer are grayed out. If I create them with my CSS code is this a problem?

  • This topic was modified 10 years by daimpa.
Post count: 90

The other solution could be using a custom page template (by uploading page-{slug}.php) and put my HTML code after the <div class=”td-pb-span12 td-main-content” role=”main”>. Which of the two solutions is better for perfmance/seo?

Post count: 6535

HI

You can customize the layout from Visual Composer using custom css but you have to be careful at the code and also make sure that the page won’t be affected by your customizations. To change the layout using custom code you will need lots of customizations and tests in order to achieve the desired result.
You have to find the most optimal; solution depending by desired layout for your page. If the html structure requires new spans for content the you have to make a new page template but if the layout can be customized only with custom css then you can use it without a custom post template.
Note that we can’t offer customization services at the moment so if you’re not aware of the steps that must be taken in order to complete this task my advice is to look for someone who can help you with implementation or hire a freelancer to do it for you.

Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newsmag’ is closed to new topics and replies.