Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Full Image Background Only on certain views

$
0
0

@kernel wrote:

I am using a method I found on the forum to set the background to full image and setting header to transparent. However, it changes for all views. Is there a way I can make it on certain views?

I am using

CSS:

.bar.bar-light {
  background-color: rgba(255,255,255,.66) !important; /* or transparent, or background:none */

}

.scroll-content {
  overflow: visible !important;

}

.background {
  background-image: url("../img/bkg-4.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
}

html

<ion-view class="background">

<ion-nav-bar class="bar-clear">

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>