Post-Templates

Posted in: Newspaper
Post count: 7

Hi everybody,
i just wanted to ask, if it is possible to customize the existing post-templates in way, that is safe in case of updates, etc.
In my case, I just want the headline (h1) to be underlaid with an orange box with the headline having white font-color.
Actually I just need a way to “overwrite” the existing css permanently, because I´ve managed it with developer-tools in my browser.
Thank you in advance for you answer!
Regards, Sebastian

Post count: 23312

Hello Sebastian,

If you want to make it permanently these settings, you should use the child theme. You have to use a bit of CSS code and place in Custom CSS area from the child theme.

The code is ->

h1 {
background-color:red!important;
color:white;
}

The result you should see here -> http://screencast.com/t/STIZyZypE6Wg

Please notice that if you make these changes on the main theme, on each update, the code will be overwritten and you will lose the settings. For more information about child theme, please consult our documentation here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/

Hope this helps!

Thank you for the message!

Post count: 7

Hi Catalin,
thank you, that sounds good! I will go through the documentation and try it out.
Would it be the same way, if I want to adjust paddings in the grid-layout? I think so or not?
Thank you in advance for your support!
Greetings, Sebastian

Post count: 23312

Hello Sebastien,

If you want to provide you a more accurate CSS code, please provide your website URL so I can inspect it closer and also, please provide me some useful screenshots to point me exactly what you want to achieve.

Thanks.

Post count: 7

Hello Catalin,

sorry, of course! Here are the details:

As you can see on the screenshot (http://www.screencast.com/t/Jkizehwl), the grid-layout is not perfect at the moment on spots where I do not use one grid-element for 100% width. I can nearly manage to manipulate using developer-tools on chrome, but only with having no padding right und padding-left: 15px (http://www.screencast.com/t/3TpwZj8QoWFJ). But what I want is constant padding of 15px around every grid-element (http://www.screencast.com/t/8RgTZa2a) and I am not able to manage it.
I would very much appreciate, if you could help me with that!
Thanks in advance!
Sebastian

P.S.: The snippet, you provided above worked very well. I just need to transfer it to child theme and thats it. Thanks for that!

Post count: 23312

Hello sebastian.schipper,

I have checked your website and I saw that you have a lot of custom modifications in theme and also, you are using a lot of untested plugins. Please notice that our theme has not been designed to have the full width…as I can see into your website, you have changed this and therefore, all the layout of the theme will be damaged. If you want to have good results in our theme, please try to disable all the active plugins, leave just Visual Composer to active, clear all cache and install only the plugins that come bundled with our theme and rule out the conflicting plugins. Also, if you have additional customizations, try to revert to the default settings. Please notice that we cannot provide support for your customizations and nor for your untested plugins which interfere with the theme and could cause a lot of unknown issues in the theme, sorry! If you want to display more levels in our theme, please notice that is not a simple task and require a lot of experience in this regard and if you are not aware of the steps, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!

Thank you for your understanding!

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