Add paragraph styles / y position = 0

Nina's Avatar

Nina

Sep 20, 2013 @ 03:51 PM

Dear berta team,

is it possible to add multiple paragraph styles to the existing ones (body & h2)? If so, what would be the right way to do it? I already tried to introduce a new style in the custom css window but I am afraid it won't work that way. Could you please advise on that?

Another question: Is it somehow possible to place entries at a y position of zero? I want my item to directly stick to the browser upper border which is not possible due to the menubar for each entry. But perhaps there is another solution for my problem anyway, I would like to have the menu container filled with white plus a margin of x pixel so that the content will scroll behind it (see screenshot) and does not overlap with the menu items. Currently I am tricking by placing a white png behind the menu. Any ideas?

Thanks in advance, Nina

  1. Support Staff 1 Posted by Uldis on Sep 23, 2013 @ 07:27 AM

    Uldis's Avatar

    Hello Nina,
    you can add your own CSS classes to h2.
    First define your class under custom CSS like this:

    h2.mystyle {
    color: red;
    font-size: 14px;
    }
    
    Then inside text editor click no HTML button and edit your HTML code by adding your defined class:
    <h2 class="mystyle">Some title</h2>
    

    About your second problem, there is no good solution, only some ugly hacks like your image. You can force position of your menu background image entry with custom CSS:

    #pageEntries .xEntry.xEntryId-4.xSection-collection {
    top: 0 !important;
    }
    
    This will place this entry in top zero position.

    Keep in touch

  2. Uldis closed this discussion on Sep 23, 2013 @ 07:27 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac