Asciidoctor how to add header and footer in title page and ignore margin - header

I'm wondering if someone knows how to make a header and footer at the title page in your costume Asciidoctor theme.
In my case I have a logo that I want to put on the top left corner. The problem is that I've set the margin for the document, so my logo would not be on the right spot at the title page.
Do someone of you know how to ignore the margin or just how to add a header and footer to the title page?

Rather than using "title_page_logo_image", you should be able to accomplish this through "title_page_background_image". The background image does not take the margins into account. You may have to update the logo to include some transparency to its left and top in order to not make it sit exactly in the top left of the title page.
Marc.

Related

Microsoft SQL Server Report Builder. Footer is there but not accessable to change heigiht

In My Microsoft SQL Report Builder, the footer is inaccessible for any editing and I believe it may be because the height is set to 0 but have no idea how I can change this. I can tell the footer is on because a small dotted line appears when I click add footer. But have no clue how to change the size.
With the page footer added (dotted line visible,) slowly move your mouse from the background below to the page pixel by pixel until the cursor turns into the up and down arrows. If you go slow enough, you should be able to grab the footer handle without the page handle, then click and pull down to expand the footer. You can tell if you are in the right spot because the black bar on the ruler to the left will be beneath the gray bar that denotes the end of the page. It helps if you lower your mouse sensitivity.
Sorry for poor quality, had to use step recorder to get the cursor. Notice the black bar to the left is below the gray horizontal bar. This means I am over the footer and not the page.

Bootstrap navbar right side falls under the left

Please look at the official navbar example:
https://getbootstrap.com/examples/navbar/
If you try to resize your browser you see this:
Today I found the same problem on my website.
How to easily fix this behavior?
This menu has not enough space in one row. The right side part just does not fit in the same line. You can:
reduce the number of menu items
(for example, hide one of them by adding the hidden-sm class)
make names of items shorter
hide a word from the name:
<li>Something else<span class="hidden-sm"> here</span></li>
reduce the distance between menu items
reduce the width of the logo for this screen width
expand the container or use container-fluid instead

How to change the height of an SSRS report based on its content?

I have a report that has 3 pages (it's basically 3 images), one on each page.
The 3rd image should only be visible given a condition. This part works. The image is displayed or not displayed properly.
The problem is, if the image is NOT displayed, I don't want to show a blank page there. The report needs to go onto the next page.
How do I make it so that if the 3rd page isn't there, then a blank space will not be rendered?
Like with most formatting questions, the answer is: a Rectangle.
Put your image in a rectangle and use the visibility of the rectangle. When invisible, the rectangle will not consume the space.

Header of a WP responsive theme won't properly remain on top at the top when scrolling; position:fixed and width:any% throws it out of whack

The WP responsive theme I'm working on:
http://www.wpexplorer.me/tetris/
I use Firebug for Firefox browser addon thingy to make changes before messing with the actual files. So if you have it or something similar, you will see that by adding position:fixed; to the #header section the header width shrinks well more than half its original size and the navigation menu is jacked up within the new shrunken space.
I have added other snippets of coding to the #header section like width:100%;, width:959px; and other percentages and pixels, which messes up the layout; especially when you resize the window down to what you would consider to be for a tablet and a mobile device - it's all out of whack. I can't get the sticky header for this theme to function or do right. Oh, I've also added z-index:200; to the #header section and margin:160px 0; to #main-content; these don't give me issues.
Adding the width: ; code to the #main-content doesn't seem to help either (which I read somewhere online that this was where the width code goes).
Anyway, does anyone know what code I need to make the header of this theme scroll up until it gets to the top of the page where it becomes sticky/static/fixed/on top (whatever the real term for it is) at all times? And, can you get it to work with the layout being in tact when the window is resized all the way down to the size of a mobile device?
Thanks.
This should work
#header-wrap{position:fixed;top:0;z-index:999;}
#pre-header{margin:20px 0 15px;width:960px;}
#main-content{margin:215px 0 30px;}
The position is fixed at the top using 0 with a z-index:999 you then need to set the width of the inner container pre-header 960px to match the rest.
You will need to setup the media queries for the other sizes you have setup. Easy, and Enjoy.
If you want the menu itself and not the social icons to become the top fixed bar without the social icons then you want to make a jquery scroll CSS change so that the #header becomes the fixed position.
It working with fixed header and social:
An illustration of it working without the social bar using a Jquery Scroll CSS change:
This is the way I would do it, I would move the menu down, and add the social icons to the menu itself. (Below is a screenshot of what I mean, the social icons are reduced to 75%)
PS. The social icons stand out to much so I would add a CSS3 Greyscale, and when the visitor hovers over them it turns on the color with a transition effect.
Hope this helps ;)

How Can I make a Nivo Slider transition with text below-NOT CAPTION?

OK, So I am working on this Nivo Slider for a website I am doing for my school... I am wondering if it is possible to actually get the Nivo Slider to transition with text below. Not necessarily a caption but like when the Nivo goes to a new image the text below will go to another bit of text. I have the Nivo working in all browsers but I was curious if anyone knew if this was even possible. I tryed putting large text in a caption but It just made the caption go all over the Nivo instead of down below the image like I want..
Thanks for any suggestions!
You can place text below the gallery using the caption option and just display it below using CSS.
Simply go in to the nivo-slider.css file and change the position of the nivo-caption class to relative.
yes this is possible, with simple css modification you can display the captions under the slider and they'll fade at the same time as the images.
Kind regards