logo
Tags down

shadow

css remove spaces


By : anonymous
Date : May 03 2020, 07:15 AM

There is a space under breadcrump as you can see on following link:

https://www.sac-ekimi.deniz-tasarim.site/bize-ulasin/

I can't this space .

this is the breadcrump function I use :

// breadcrump
/**
 * Generate breadcrumbs
 * @author CodexWorld
 * @authorURL www.codexworld.com
 */
function get_breadcrumb()
{
    if (is_front_page() or is_home()) {
// Default homepage
        echo '';


    } else {

// Everything else

        echo 'Home';
        if (is_category() || is_single()) {
            echo "  »  ";
            the_category(' • ');
            if (is_single()) {
                echo "   »   ";
                the_title();
            }
        } elseif (is_page()) {
            echo "  »  ";
            echo the_title();
        } elseif (is_search()) {
            echo "  »  Search Results for... ";
            echo '"';
            echo the_search_query();
            echo '"';
        }
    }
}

// /breadcrump

and this is the part of breadcrump from the page which is referred by the link:

Css from header.php:


before I add breadcrumb to this page, there is no any spaces.

Answer :

edit this css to remove the space.

.breadcrumb{
    margin-bottom: 0;
}

If you can not edit that css file then just add margin-bottom:0 to <div class="breadcrumb" style="background-color: #F3F3F3;"><?php get_breadcrumb(); ?> </div>

like:

<div class="breadcrumb" style="background-color: #F3F3F3;margin-bottom:0;">
    <?php get_breadcrumb(); ?>
</div>


Share : facebook icon twitter icon
Related Posts Related Posts :
  • clear array after form submit
  • pass url variable to javascript
  • access data using api
  • div position fixed css
  • add horizontal line between two div
  • disable toggle button css
  • css fixed line height
  • background image not working
  • table cell border
  • text line break css
  • overlay div on div
  • text direction rtl css
  • javascript convert string to an object
  • bind inner div click to outer div
  • jquery ajax oncomplete
  • how to use promise in for loop
  • jquery get element using variable
  • javascript send textbox value
  • pass div class content to another class or id
  • css new line after element
  • css calc not working properly
  • link disabled jquery
  • sql join table to subquery
  • MS Access SQL Issue with OR AND Operators
  • set textarea value using php
  • php merge two arrays into one
  • php form with google captcha
  • update current row in php
  • php date format mysql
  • mysql pdo select query
  • php function return an array
  • PHP mysqldump database to sql file
  • display image query
  • php create array using foreach loop
  • associative array php
  • group_concat in mysql laravel
  • php array_push empty
  • mysql on update cascade not working
  • pdo insert prepared statement
  • mysql insert ignore vs on duplicate key
  • mysql insert into existing row
  • mysql multi insert query
  • mysql group by show all rows
  • php change profile image
  • combine multiple arrays into one array php
  • how to sum values in an array
  • how to get sum of the total time
  • How to Create Facebook live stream without notification using API ?
  • on button click make div visible
  • css affect another element on hover
  • shadow
    Privacy Policy - Terms - Contact Us © bighow.org